R
Robert Mark Bram
Hi All,
We have been using a rolling file appender with the following config:
log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.File=/opt/etech/testCase.log
log4j.appender.file.MaxFileSize=10MB
log4j.appender.file.MaxBackupIndex=10
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d %p %x %c - %m%n
Does anyone know how to make sure this creates a new file each run?
I.e. I don't want to see the output from previous runs.
Also, does anyone know where to find a definitive list of what all the
options are? I.e.
log4j.appender.<appenderName>.OPTION
I haven't been able to find this in the log4j javadocs or manual.
Rob
We have been using a rolling file appender with the following config:
log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.File=/opt/etech/testCase.log
log4j.appender.file.MaxFileSize=10MB
log4j.appender.file.MaxBackupIndex=10
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d %p %x %c - %m%n
Does anyone know how to make sure this creates a new file each run?
I.e. I don't want to see the output from previous runs.
Also, does anyone know where to find a definitive list of what all the
options are? I.e.
log4j.appender.<appenderName>.OPTION
I haven't been able to find this in the log4j javadocs or manual.
Rob