You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Dirk Ooms <di...@onesparrow.com> on 2006/03/01 11:02:24 UTC

RollingFileAppender behavior after app restart

Hi,

Another question on the RollingFileAppender. In the case that daily rolling is applied and the application crashes at 23:59 and is started again at 00:01, the RollingFileAppender does not do a rollover and continues logging to the log file of the previous day. Is this the expected behavior? If so, couldn't this be enhamced by checking the last-changed time of the log file before log4j opens it again?

dirk

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