You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by ms...@earthlink.net on 2002/06/12 18:55:21 UTC
RollingFileAppender.Append doesn't work
Hi,
I've searched the archives for a solution but can't find any related articles.
My log file (trace.log) keeps growing for each invocation of my app (i.e., does not get truncated ) despite the following log4J appender configuration:
log4j.logger.com.something.RediQuoteController=DEBUG, T
log4j.appender.T=org.apache.log4j.RollingFileAppender
log4j.appender.T.MaxFileSize=100MB
log4j.appender.T.MaxBackupIndex=5
log4j.appender.T.layout=org.apache.log4j.PatternLayout
log4j.appender.T.layout.ConversionPattern=%-12r %d{DATE} %-5p [%t] %x - %m%n
log4j.appender.T.Threshold=DEBUG
log4J.appender.T.ImmediateFlush=false
log4J.appender.T.BufferedIO=true
log4J.appender.T.Append=false
log4j.appender.T.File=./trace/trace.log
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>