You are here: Foswiki>Tasks Web>Item11398 (11 Apr 2012, GeorgeClark)Edit Attach

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

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.5
Target Release: patch
Applies To: Engine
Component: FoswikiLogger
Branches: Release01x01 trunk
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
$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 Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy