logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorbjørn Ravn Andersen <thunderax...@gmail.com>
Subject Re: DailyRollingAppender doing strange things with log4j-1.2.14
Date Wed, 16 Jul 2008 20:07:42 GMT
Robert Nicholson skrev  den 16-07-2008 21:03:
> I'm noticying right now the following situation
>
>
> -rw-r--r--  1  311170 Jul 16 14:00 name.log
>
> -rw-r--r--  1  455880 Jul 16 14:00 name.log.2008-07-15
>
>  What you should see is that today's log is actively overwriting yesterday's
> rolled log.
>
> So yesterdays log is history as it's been overwritten.
>
> Can anybody explain this behaviour and whether a newer version corrects this
> problem?
>   
The rolling does not happen automatically at midnight, but when a 
logging event has been determined to be in the "next" period.

Are the contents of the logs correct?

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


Mime
View raw message