log4j.properties 968 B

12345678910111213141516171819202122232425
  1. log4j.rootLogger=ERROR,Console,INFO
  2. log4j.appender.Console=org.apache.log4j.ConsoleAppender
  3. log4j.appender.Console.Target=System.out
  4. log4j.appender.Console.layout=org.apache.log4j.PatternLayout
  5. log4j.appender.Console.layout.ConversionPattern=[%p][%d{yyyy-MM-dd HH\:mm\:ss,SSS}][%c]%m%n
  6. log4j.logger.com.springframework=ERROR
  7. log4j.logger.com.ibatis=ERROR
  8. log4j.logger.com.ibatis.common.jdbc.SimpleDataSource=ERROR
  9. log4j.logger.com.ibatis.common.jdbc.ScriptRunner=ERROR
  10. log4j.logger.com.ibatis.sqlmap.engine.impl.SqlMapClientDelegate=ERROR
  11. log4j.logger.java.sql.Connection=ERROR
  12. log4j.logger.java.sql.Statement=ERROR
  13. log4j.logger.java.sql.PreparedStatement=ERROR
  14. log4j.logger.java.sql.ResultSet=ERROR
  15. # Druid
  16. log4j.logger.druid.sql=ERROR
  17. log4j.logger.druid.sql.DataSource=ERROR
  18. log4j.logger.druid.sql.Connection=ERROR
  19. log4j.logger.druid.sql.Statement=ERROR
  20. log4j.logger.druid.sql.ResultSet=ERROR
  21. log4j.logger.com.goafanti=DEBUG