logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael A Chase <mch...@ix.netcom.com>
Subject Re: What is correct for DailyRollingFileAppender?
Date Thu, 29 Sep 2005 02:57:29 GMT
On Wed, 28 Sep 2005 11:27:56 -0600, David Thielen wrote:

> Do I do:
> 	<param name="file"
> value="${catalina.home}/logs/tomcat-'yyyy-MMM-dd'.log"/>
> or
> 	<param name="file" value="${catalina.home}/logs/tomcat.log"/>
> 
> And is 
> 	<param name="DatePattern" value="'.'yyyy-MM-dd"/>
> Required?

For 1.2.11, the date pattern is separate from the file name and the
date/time value gets appended to the end of the file name when the file is
copied. From looking at the comments and source code for 1.2.12, File
appears required and DatePattern defaults to "'.'yyyy-MM-dd".

-- 
Mac :})
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message