logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Ooms <d...@onesparrow.com>
Subject RollingFileAppender behavior after app restart
Date Wed, 01 Mar 2006 10:02:24 GMT

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?


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

View raw message