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 Fabrizio Squittieri <f....@comune.prato.it> on 2005/06/07 11:37:13 UTC

DailyRollingFileAppender rolls but...

Hi there,
I'm reporting a weird thing:
every morning the server on which i've got log4j (v1.2.8) installed
reboot at 7.22 AM.
Now, when it boots up again, Tomcat comes up and log4j rolls log.txt to
log.txt.DDMMYYYY correctly but up to the next Tomcat restart every
application still log on the rolled file and not on the new one, and  i
loose log statements of yesterday.
I hope someone could help me...
Thanks
 
Fabrizio Squittieri - Programmatore
 
Sistema informativo - Comune di Prato
Via Cairoli 16 - Prato
f.squittieri@comune.prato.it
                   
 
 
 

Re: DailyRollingFileAppender rolls but...

Posted by James Stauffer <st...@gmail.com>.
Is the following what are your trying to say?

On 6/07 when it restarts it makes log.txt.07062005 but still writes
logs to log.txt.

On 6/7/05, Fabrizio Squittieri <f....@comune.prato.it> wrote:
> Hi there,
> I'm reporting a weird thing:
> every morning the server on which i've got log4j (v1.2.8) installed
> reboot at 7.22 AM.
> Now, when it boots up again, Tomcat comes up and log4j rolls log.txt to
> log.txt.DDMMYYYY correctly but up to the next Tomcat restart every
> application still log on the rolled file and not on the new one, and  i
> loose log statements of yesterday.
> I hope someone could help me...
> Thanks
> 
> Fabrizio Squittieri - Programmatore
> 
> Sistema informativo - Comune di Prato
> Via Cairoli 16 - Prato
> f.squittieri@comune.prato.it
> 
> 
> 
> 
> 
> 


-- 
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/

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