log4j.rootLogger=INFO,stdout,wechat
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d [%5p] %l - %m %n
log4j.appender.wechat=org.apache.log4j.RollingFileAppender
log4j.appender.wechat.threshold=debug
log4j.appender.wechat.File=${catalina.base}/logs/wechat.log
log4j.appender.wechat.MaxFileSize=5MB
log4j.appender.wechat.MaxBackupIndex=1
log4j.appender.wechat.layout=org.apache.log4j.PatternLayout
log4j.appender.wechat.layout.ConversionPattern=%d %p [%c] - %m%n