Hello Amit.
Try setting the parameter
log4j.appender.fileapp.Append=true
That should do it.

Regards,
Leo.

"Amit Pathak" <[EMAIL PROTECTED]> escreveu na mensagem
Hi All,

We are using DailyRollingFileAppender in our web project's log4j.xml
file.

The problem is that if the Application Server (Tomcat) is restarted on
any given day, the previous log file gets deleted for that day and a new
file replaces the same. We want that the old file for the same day
should not get deleted if Server restarts in between. Are we missing
some parameter value in the log4j configuration file? Please help in
this problem.



Thanks and Best Regards,

Amit Pathak 




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

Reply via email to