Hi,

Thanks for the information. I'll add a link from our web-site to your documents.

Have you considered updating your DatedFileAppender with the new rolling appenders in the o.a.l.rolling package? The classes derived from o.a.log4j.RollingFileAppender have been deprecated. New and more flexible alternatives are available in o.a.log4j.rolling.

At 06:39 PM 9/6/2004, minaret wrote:
I have written a new Log4j appender (DatedFileAppender) that works in the same manner as the Tomcat FileLogger. That is, log file names always contain today's date instead of being renamed in the manner of the DailyRollingFileAppender. While this distinction seems minor, it means you can reliably copy, compress, remove or manipulate a day's log file shortly after midnight. With the DailyRollingFileAppender, a day's log file is not renamed until the first message is logged some time after midnight.

The software and accompanying documentation is available here:

    http://minaret.biz/tips/datedFileAppender.html

For those of you using Tomcat, I also wrote up a technical tip on Tomcat logging and using Log4j with Tomcat (with tips for Velocity users). Please see:

    http://minaret.biz/tips/tomcatLogging.html

Enjoy.


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

-- Ceki G�lc�

For log4j documentation consider "The complete log4j manual"
ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp




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



Reply via email to