[Bug 1198251] Re: zookeeper package should include logrotate config for /var/log/zookeeper
Haw Loeung
1198251 at bugs.launchpad.net
Mon Jul 8 08:46:55 UTC 2013
James,
Looking at one of our bootstrap nodes, it seems we're using the default
shipped with Precise:
ii zookeeper 3.3.5+dfsg1-1ubuntu1
High-performance coordination service for distributed applications
/etc/zookeeper/conf/log4j.properties:
#
# Add ROLLINGFILE to rootLogger to get log file output
# Log DEBUG level and above messages to a log file
log4j.appender.ROLLINGFILE=org.apache.log4j.RollingFileAppender
log4j.appender.ROLLINGFILE.Threshold=DEBUG
log4j.appender.ROLLINGFILE.File=${zookeeper.log.dir}/zookeeper.log
# Max log file size of 10MB
log4j.appender.ROLLINGFILE.MaxFileSize=10MB
# uncomment the next line to limit number of backup files
#log4j.appender.ROLLINGFILE.MaxBackupIndex=10
log4j.appender.ROLLINGFILE.layout=org.apache.log4j.PatternLayout
log4j.appender.ROLLINGFILE.layout.ConversionPattern=%d{ISO8601} - %-5p [%t:%C{1}@%L] - %m%n
Seems MaxBackupIndex is commented out by default?
Regards,
Haw
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to zookeeper in Ubuntu.
https://bugs.launchpad.net/bugs/1198251
Title:
zookeeper package should include logrotate config for
/var/log/zookeeper
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zookeeper/+bug/1198251/+subscriptions
More information about the Ubuntu-server-bugs
mailing list