No such issues have (so far) been observed with the TimeAndSizeRollingAppender, 
which directly subclasses the Log4J FileAppender.  This Appender does the same 
stuff as the DailyRollingFileAppender, plus a few extra features.  You could 
perhaps give that a try.  Available under the Apache 2.0 license at 
www.simonsite.org.uk.




________________________________
From: Chris <[email protected]>
To: [email protected]
Sent: Sun, 5 September, 2010 22:50:48
Subject: Is DailyRollingFileAppender stable?

The javadoc for DailyRollingFileAppender says:

"DailyRollingFileAppender has been observed to exhibit synchronization issues 
and data loss. The log4j extras companion includes alternatives which should be 
considered for new deployments and which are discussed in the documentation for 
org.apache.log4j.rolling.RollingFileAppender."

This javadoc was written in 2002. I can't find the documentation it mentions.

Has this class been fixed, and if not, what/where are the alternatives?


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


      

Reply via email to