All Downloads are FREE. Search and download functionalities are using the official Maven repository.

275860560.github-qq275860560-common.20190523.source-code.log4j.properties Maven / Gradle / Ivy

There is a newer version: 201905061822
Show newest version
#DEBUG < INFO < WARN < ERROR < FATAL
log4j.rootLogger=debug,console,file,logstash


log4j.additivity.org.apache=true
log4j.logger.org.apache=ERROR
log4j.logger.org.springframework=WARN
log4j.logger.org.mybatis=INFO
log4j.logger.org.apache.http=WARN
log4j.logger.com.netflix=ERROR
log4j.logger.com.alibaba.dubbo.registry=WARN
log4j.logger.com.alibaba.dubbo=INFO

log4j.logger.java.sql=DEBUG
log4j.logger.com.github=DEBUG

log4j.logger.java.sql.Connection=INFO  
log4j.logger.java.sql.Statement=INFO  
log4j.logger.java.sql.PreparedStatement=INFO  
log4j.logger.java.sql.ResultSet=INFO

log4j.logger.com.ibatis=INFO
log4j.logger.com.ibatis.common.jdbc.SimpleDataSource=INFO
log4j.logger.com.ibatis.common.jdbc.ScriptRunner=INFO
log4j.logger.com.ibatis.sqlmap.engine.impl.SqlMapClientDelegate=INFO




#log4j.appender.console.Threshold=DEBUG
log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.layout=org.apache.log4j.PatternLayout
#log4j.appender.console.layout.ConversionPattern=%p %d{yyyy-MM-dd HH:mm:ss.SSS} %c(%L) %m %n
# Print the date in ISO 8601 format
log4j.appender.console.layout.ConversionPattern=%d [%t] %-5p %c - %m%n





log4j.appender.file=org.apache.log4j.DailyRollingFileAppender
#log4j.appender.logstash.Threshold=INFO
log4j.appender.file.DatePattern='.'yyyy-MM-dd
log4j.appender.file.File=logs/github-qq275860560-common.log
log4j.appender.file.Append=true
log4j.appender.file.Encoding=UTF-8
log4j.appender.file.layout=org.apache.log4j.PatternLayout
#log4j.appender.file.layout.ConversionPattern=%p %d{yyyy-MM-dd HH:mm:ss.SSS} %c(%L) %m %n
# Print the date in ISO 8601 format
log4j.appender.file.layout.ConversionPattern=%d [%t] %-5p %c - %m%n





log4j.appender.logstash=org.apache.log4j.DailyRollingFileAppender
#log4j.appender.logstash.Threshold=INFO
log4j.appender.logstash.DatePattern='.'yyyy-MM-dd
log4j.appender.logstash.File=logs/github-qq275860560-common-logstash.log
log4j.appender.logstash.Append=true
log4j.appender.logstash.Encoding=UTF-8
log4j.appender.logstash.layout=net.logstash.log4j.JSONEventLayoutV1






© 2015 - 2024 Weber Informatics LLC | Privacy Policy