According to the javadocs:

http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/DailyRollingFileAppender.html#subAppend(org.apache.log4j.spi.LoggingEvent)

"Before actually logging, this method will check whether it is time to do a
rollover. If it is, it will schedule the next rollover time and then
rollover. "

This means it can take 2 seconds or 2 years before it actually rolls (when
no log events are being generated for 2 years).

M.

On Tue, Nov 10, 2009 at 11:16 PM, kolhead <[email protected]> wrote:

>
> Hi,
>
> At exactly what time does the DailyRollingFileAppender roll the logs . Is
> it
> 23:59 or 00:00.
>
> Thanks
> --
> View this message in context:
> http://old.nabble.com/DailyRollingFileAppender-roll-time-tp26292283p26292283.html
> Sent from the Log4j - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to