rushfee/classes/artifacts/rushfee_Web_exploded/WEB-INF/classes/log4j.properties

28 lines
1.2 KiB
Properties

log4j.appender.console=org.apache.log4j.ConsoleAppender
#log4j.appender.console.Target=System.out
log4j.appender.console.layout=org.apache.log4j.PatternLayout
#log4j.appender.console.layout.ConversionPattern=#%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p %-5c[%L] -> %m%n
log4j.appender.console.layout.ConversionPattern=%-5p %d{yyyy-MM-dd HH:mm:ss,SSS} -> %m%n
log4j.appender.file=org.apache.log4j.DailyRollingFileAppender
log4j.appender.file.File=${catalina.base}/logs/aos/log
log4j.appender.file.DatePattern='_'yyyyMMdd'.log'
#log4j.appender.FILE.MaxFileSize=1024KB
#log4j.appender.FILE.MaxBackupIndex=10
log4j.appender.file.encoding=UTF-8
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d{HH:mm:ss,SSS} %p - %m%n
log4j.rootLogger=INFO,console,file
log4j.logger.org.apache=ERROR
log4j.logger.org.quartz=ERROR
log4j.logger.com.alibaba.druid.pool.DruidDataSource=ERROR
log4j.logger.com.aisino=DEBUG
# Druid
log4j.logger.druid.sql=ERROR
log4j.logger.druid.sql.DataSource=ERROR,console,file
log4j.logger.druid.sql.Connection=ERROR,console,file
log4j.logger.druid.sql.Statement=ERROR,console,file
log4j.logger.druid.sql.ResultSet=ERROR,console,file
log4j.additivity.druid.sql=false