我有log4j的在我的Java項目配置如下log4j.properties:log4j的打印各級
log4j.rootLogger=WARNING, X
log4j.appender.X=org.apache.log4j.ConsoleAppender
log4j.appender.X.layout=org.apache.log4j.PatternLayout
log4j.appender.X.layout.ConversionPattern=%p %m %n
log4j.logger.org.hibernate.SQL=WARNING
log4j.logger.com.****.services.clarity.dao.impl=WARNING
log4j.logger.com.****.services.clarity.controller=WARNING
log4j.logger.com.****.services.clarity.services.impl=WARNING
log4j.logger.com.****.services.clarity.feeds.impl=WARNING
至於配置方面,它應該只打印警告信息,但它打印各級DEBUG。
這可能來自哪裏?
謝謝!