• 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.

Statistics.pm is creating "bad log line" errors due to logs containing a "change password entry"

Statistics.pm should be modified to include the following to ignore those entries...


--- Statistics.pm   (revision 202)
+++ Statistics.pm   (revision 203)
@@ -253,6 +253,9 @@
         # ignore "renamed web" log lines
         next if( $opName && $opName =~ /(renameweb)/ );
 
+   # ignore "change password" log lines
+        next if( $opName && $opName =~ /(changepasswd)/ );
+
         # .+ is used because topics name can contain stuff like !, (, ), =, -, _ and they should have stats anyway
         if( $opName && $webTopic =~ /(^$TWiki::regex{webNameRegex})\.($TWiki::regex{wikiWordRegex}$|$TWiki::regex{abbrevRegex}|.+)/ ) {
             my $webName = $1;

See also related problem: Item3091

-- TWiki:Main.DarrenElkerton

Thanks for the patch. I have integrated it to what will become 4.1

-- KJL

4.1.0 released

KJL

ItemTemplate
Summary Statistics creates lots of "bad log line... " errors
ReportedBy TWiki:Main.DarrenElkerton
Codebase 4.0.4
SVN Range TWiki-4.1, Mon, 30 Oct 2006, build 11853
AppliesTo Engine
Component

Priority Low
CurrentState Closed
WaitingFor

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