The foswiki svn repository will become read-only on Friday 8/8. Developers should register for a http://github.com/ account for commit access to foswiki.

Item11398: Foswiki logger fails to rotate files other than events.log

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Engine FoswikiLogger  
$nextCheckDue is a global, and whichever file being logged when the next rollover check happens will be rotated, no other logs will get rotated. In most cases this is probably the events.log file.

The Logger needs a nextCheckDue per logfile class - events, errors, and debug.

The unit tests don't test for anything other than rotation of the events log.

The ReleaseNotes01x01 documentation doesn't note that the warning log is not used in Foswiki 1.1. Warnings are logged to the error.log

-- GeorgeClark - 31 Dec 2011

 

ItemTemplate edit

Summary Foswiki logger fails to rotate files other than events.log
ReportedBy GeorgeClark
Codebase 1.1.4, trunk
SVN Range
AppliesTo Engine
Component FoswikiLogger
Priority Normal
CurrentState Closed
WaitingFor
Checkins Foswikirev:13533 Foswikirev:13534
TargetRelease patch
ReleasedIn 1.1.5
CheckinsOnBranches Release01x01 trunk
trunkCheckins Foswikirev:13533
Release01x01Checkins Foswikirev:13534
Topic revision: r5 - 11 Apr 2012, GeorgeClark
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License