Hi

With the following Log4j configuration

  log4j.appender.R=org.apache.log4j.DailyRollingFileAppender
  log4j.appender.R.File=sample.log
  log4j.appender.R.DatePattern='.'yyyy-MM-dd


The sample.log will be copied to sample.log.2006-06-06, example,

  sample.log
  sample.log.2006-06-06
  sample.log.2006-06-05

How can we configure the LOg4j so that the file will be copied as
sample.2006-06-06.log?
For example,

  sample.log
  sample.2006-06-06.log
  sample.2006-06-05.log

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

Reply via email to