Item5056: TWiki's logging is untidy
Priority: Low
Current State: No Action Required
Released In: n/a
Target Release: n/a
TWiki's access logging to
logYYYYMM.txt
makes wrong guesses and is inconsistent:
- User agent heuristics:
- Internet Explorer 6 is identified as "Mozilla"
- Firefox is identified as empty string
- User id field:
- Most scripts log (in 4.2!) the unmodified login id
- save with repRev logs the canonical id in the "detail" column
- register logs the wikiname
- Log file format:
-
logYYYYMM.txt
has TML-table-ready format
-
configurationlog.txt
and warnYYYYMM.txt
lack the closing vertical bar on each line
I failed to find any documentation about TWiki's logging, so I guess it is a WAI (Works As Implemented).
--
HaraldJoerg
setting to Crawford, he's in that code atm
--
SvenDowideit - 08 Feb 2009
I rewrote the logging recently, and it (unintentionally) crept into 1.0.4. The rewrite doesn't cure
all the problems above, but at least now all the log files are in a consistent format.
--
CrawfordCurrie - 07 Mar 2009
can we close it? - aka have you done all you're likely to address Harald's task?
--
SvenDowideit - 12 Aug 2009
I have done all I'm likely to, but it doesn't address Harald's user agent problem, so have to leave this open.
--
CrawfordCurrie - 18 Aug 2009
The logger code has been heavily modified, but marking for George's attention all the same (this can probably be closed no-action, but....)
--
CrawfordCurrie - 21 Dec 2014
I'm going to close as no-action. The User Agent handling could certainly be improved, but would probably entail using CPAN module that better understands UA strings. If you still want improved user agent handling, please open a new enhancement request. I'm hesitant however to add more dependencies on CPAN modules.
--
Main.GeorgeClark - 23 Dec 2014 - 19:58