Foswiki on GitHub is open for business! Next release meeting: Monday October 13, 1300Z

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 distro:8f218b473e8a distro:c6f854e4a832
TargetRelease patch
ReleasedIn 1.1.5
CheckinsOnBranches Release01x01 trunk
trunkCheckins distro:8f218b473e8a
Release01x01Checkins distro:c6f854e4a832
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