The rollover period is set in a similar way to the as the DatePattern property in DailyRollingFileAppender. In TimeBasedRollingPolicy the property is called FileNamePattern and if the value has .gz or .zip at the end it also does on the fly compression. It's the same otherwise.
At 09:03 AM 7/24/2003 -0400, Jeremy Nix wrote:
In the latest src, the DailyRollingFileAppender has been deprecated and the new RollingFileAppender is recommended for use instead. The new RollingFileAppender makes use of a TimeBasedRollingPolicy object for setting the rolling period. This object has not been javadoc'd, and I'm having some trouble figuring out how to set the policy's rollover interval.
_________________ Jeremy Nix Senior Application Developer Southwest Financial Ltd. [EMAIL PROTECTED] (513) 621-6699 ext 1158
--
Ceki 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]
