You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2003/08/13 12:43:41 UTC

DO NOT REPLY [Bug 10560] - DailyRollingAppender does not roll each period

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10560>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10560

DailyRollingAppender does not roll each period





------- Additional Comments From piedcow@hotmail.com  2003-08-13 10:43 -------
A quick fix to daves problem is to:

Do a rollover on the shutdown of an application. This would mean that future 
rollovers might have to append to an already existing file(rename will fail or 
nuke) if there are multiple shutdowns within a rollover period.

A system crash would mean no rollover, but because we are not nuking files, the 
info will not be lost, just in the wrong place. 

Not the most elegant, but it does get closer to what we would like!

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org