用log4j记录proxool日志

阅读更多

需要把proxool的日志单独记录

log4j.rootLogger=info,stdout,hfile,proxool
log4j.logger.org.logicalcobwebs.proxool=info

log4j.appender.proxool=org.apache.log4j.DailyRollingFileAppender
log4j.appender.proxool.File=${myapp.WebRoot}/logs/proxool.log
log4j.appender.proxool.layout=org.apache.log4j.PatternLayout
log4j.appender.proxool.layout.ConversionPattern=%d{DATE} [%-5p] %c {%F:%L} - %m%n
log4j.appender.proxool.DatePattern='.'yyyy-MM-dd

你可能感兴趣的:(proxool,log4j,日志)