You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-user@logging.apache.org by "Brian Gore (bgore)" <bg...@cisco.com> on 2006/11/06 01:05:30 UTC
0.9.8 RollingFileAppender?
I was previous using the Log4cxx, v0.9.7, RollingFileAppender with the
following configuration properties:
# Rolling File Appender
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=Log4CXX.txt
log4j.appender.R.MaxFileSize=3000KB
log4j.appender.R.Append=true
log4j.appender.R.MaxBackupIndex=7
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%d [%5t] %-5p %c{1} - %m
This successfully rolled logging output between 8 files of 3MB each.
But now that I've updated to LOGCXX-62, the rolling appender no longer
works. Instead, I just get one base file created which grows
increasingly large.
I saw one post suggesting that rollingPolicy and triggeringPolicy
properties were needed, but adding these also did not help. Any ideas
what's needed?