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 [EMAIL PROTECTED]  2002-07-08 21:28 -------
Carol,

While it is true true that roll overs will not necessarily happen at
the top of the hour (or whatever the period is), when a rollover
happens, it will be correct. In other words, all logging output will
be placed in the correct files according to their date.

The problem you observe is due to the fact that rollover for period n
occurs at the arrival of the first logging event *after* the
completion of period n. The first logging event after the completion
of period n can arrive minutes, hours, or even days after the
completion of period n. 

Would it be possible for you to consolidate files 1/2 hour after the
top of the hour instead of 5 minutes?

Mark,

Yes, the rollover problem can indeed be solved with a TimerTask.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to