• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Statisitics are not being produced.

When I run 'statistics' in debug mode I get this:


>> tail debug.txt
>> | 14 Jun 2005 - 13:57 | opName = ''
>> | 14 Jun 2005 - 13:57 | webName = ''
>> | 14 Jun 2005 - 13:57 | Invalid log file line = '| 14 Jun 2005 - 13:54 
>> | | AntonAylward | view | Main.WebStatistics |  | 24.156.198.143 |'
>> | 14 Jun 2005 - 13:57 | userName = ''
>> | 14 Jun 2005 - 13:57 | opName = ''
>> | 14 Jun 2005 - 13:57 | webName = ''
>> | 14 Jun 2005 - 13:57 | Invalid log file line = '| 14 Jun 2005 - 13:56 
>> | | AntonAylward | view | Main.WebStatistics |  | 24.156.198.143 |'
>> | 14 Jun 2005 - 13:57 | userName = ''
>> | 14 Jun 2005 - 13:57 | opName = ''
>> | 14 Jun 2005 - 13:57 | webName = ''

It looks to me as it the logging mechanism and the statistics analyser have gotten out of sync with each other.

Personally I think the regex is wrong, but I always seem to have problems with Perl regexs

OBTW: the debug statement that produces this is WRONG.

If the comparison fails then the assignment that sets userName opName and webName never happens so they will always be reported as null.

See Line 259 of Statistics.pm


Fixed - SVN 4377 - CC

ItemTemplate
Summary Disparity in 'statistics' parsing of logs
ReportedBy TWiki:Main.AntonAylward
Codebase

AppliesTo

Priority Urgent
CurrentState Closed
WaitingFor

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2005-06-16 - TWikiGuest
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback