The problem is not that it does not roll over at midnight (this works 
perfectly) but that the log file from the very same day is overwritten when 
restarting the application.
Heri

> -----Original Message-----
> From: Lewis, Cory (Genworth) [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 28, 2006 3:09 PM
> To: Log4J Users List
> Subject: [SPAM (Bayesain Analysis)] - RE: Logfiles sometimes 
> overwritten
> at server restart - Bayesian Filter detected spam
> 
> 
> 
> > 
> > Hi all
> > 
> > I use log4j 1.2.8 in a server environement with 
> > DailyRollingFileAppenders. Although the property Append is 
> > set to true, the logfiles are sometimes overwritten on 
> > restart of the server application. I cannot reproduce this 
> > problem, it just happens occasionally.
> 
> > Somebody else encountered this problem? 
> 
> > 
> 
> 
> I've had some similar problems on our Windows 2003 Server boxes.
> SystemErr log shows that it can't rename the file(not sure 
> why, yet, it
> created it). I can usually fix it by restarting the app server and
> removing the file, so it can create it itself. Then the 
> problem seems to
> go away for a while.
> 
> [6/23/06 13:26:37:349 EDT] 00001ce7 SystemErr     R log4j:ERROR Failed
> to rename [D:/IBM/WebSphere/CommonViewer/log/Viewer.log] to
> [D:/IBM/WebSphere/CommonViewer/log/Viewer.log.06_22_2006].
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to