Good piece of information (and thanks for the correction):
-- Forwarded message --
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Jul 23, 2006 6:40 AM
Subject: Re: DailyRollingFileAppender configuration
To: [EMAIL PROTECTED]
Hi James
This mail is with reference t
You would have to write your own appender to achieve that.
On 6/6/06, wolverine my <[EMAIL PROTECTED]> wrote:
Hi
With the following Log4j configuration
log4j.appender.R=org.apache.log4j.DailyRollingFileAppender
log4j.appender.R.File=sample.log
log4j.appender.R.DatePattern='.'-MM-d
Hi
With the following Log4j configuration
log4j.appender.R=org.apache.log4j.DailyRollingFileAppender
log4j.appender.R.File=sample.log
log4j.appender.R.DatePattern='.'-MM-dd
The sample.log will be copied to sample.log.2006-06-06, example,
sample.log
sample.log.2006-06-06
sample