log4j.properties 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. log4j.rootLogger=INFO,CONSOLE,CATALINA
  2. log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
  3. log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
  4. log4j.appender.CONSOLE.layout.ConversionPattern=%4.4p\: %m \t(%c) [%d{yyyy-MM-dd HH:mm:ss,SSS}]%n
  5. log4j.appender.CONSOLE.target=System.out
  6. log4j.logger.org.apache=INFO
  7. log4j.appender.CATALINA=org.apache.log4j.DailyRollingFileAppender
  8. log4j.appender.CATALINA.File=${catalina.base}/logs/catalina.out
  9. log4j.appender.CATALINA.DatePattern='.'yyyy-MM-dd
  10. log4j.appender.CATALINA.Append=true
  11. log4j.appender.CATALINA.layout=org.apache.log4j.PatternLayout
  12. log4j.appender.CATALINA.layout.ConversionPattern=%d %-5p [%t] %-10c{2} (%13F\:%L) %3x - %m%n
  13. log4j.logger.net.sf.jasperreports.engine.query.JRJdbcQueryExecuter=debug
  14. log4j.logger.org.thymeleaf=INFO
  15. log4j.logger.org.thymeleaf.TemplateEngine.CONFIG=WARN
  16. log4j.logger.org.thymeleaf.TemplateEngine.TIMER=INFO
  17. log4j.logger.org.thymeleaf.TemplateEngine.cache.TEMPLATE_CACHE=INFO
  18. log4j.logger.org.apache.shiro=INFO
  19. log4j.logger.org.apache.shiro.util.ThreadContext=INFO
  20. log4j.logger.com.ponxu.blog.web.filter.URLRewriteFilter = INFO
  21. org.apache.solr.core.level=WARNING
  22. org.apache.solr.update.processor.level=WARNING
  23. log4j.logger.org.apache.solr.core.SolrCore=WARN
  24. log4j.logger.org.apache.solr.update.processor.LogUpdateProcessor=WARN
  25. log4j.logger.org.apache.solr.update.LoggingInfoStream=OFF
  26. # Druid
  27. log4j.logger.druid.sql=warn, stdout
  28. log4j.logger.druid.sql.DataSource=warn, stdout
  29. log4j.logger.druid.sql.Connection=warn, stdout
  30. log4j.logger.druid.sql.Statement=debug, stdout
  31. log4j.logger.druid.sql.ResultSet=warn, stdout