log4j prints all levels
Posted
by Florian
on Stack Overflow
See other posts from Stack Overflow
or by Florian
Published on 2009-04-23T13:57:23Z
Indexed on
2010/06/13
11:12 UTC
Read the original article
Hit count: 755
Hello,
I've got log4j configured on my Java project with the following log4j.properties:
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
As configured, it should only print WARNING messages, however it prints all levels to DEBUG.
any ideas where this can come from ?
Thanks !
© Stack Overflow or respective owner