Logger-specific configuration is being ignored in the $CATALINA_HOME/conf/logging.properties file. Problem was asked (and unanswered) here, and googling did not turn up a solution either: http://old.nabble.com/Having-difficulty-suppressing-the-org.apache.tomcat.util.digester.Digester-logger-to32367312.html Steps to reproduce: 1.) Set the global logging level to FINE: .level = FINE 2.) Add a logger-specific logging level override: org.apache.tomcat.util.digester.Digester.level = INFO (or SEVERE) 3.) Start up Tomcat and view the catalina-(date).log file or catalina.out. You'll see the above logger outputting countless FINE messages -- its output is not being suppressed despite the statement in #2 above.
The logger name is not the same as the class name in that one case. The work-around is to define the level for: org.apache.commons.digester.Digester.level = INFO
This has been fixed in trunk and 7.0.x and will be included in 7.0.22 onwards.
Thanks. I'll use the workaround but what is the fix in 7.0.22+ , did you rename the logger back to the actual class name (org.apache.commons.digester.Digester) or put in special coding for "org.apache.tomcat.util.digester.Digester" to be understood as org.apache.commons.digester.Digester? It's unfortunate this particular logger had the mismatch, as it's obviously an extremely chatty logger one would immediately like to suppress as one moves to FINE or more granular logging levels--many others presumably can get tripped up on this.
The logger was named to align with the class.
The fix in r1164567/r1164569 was incomplete. Improved by r1167394/r1167396. Will be in 7.0.22.
Created attachment 27479 [details] 2011-09-10_tc6_bug51758.patch Patch for 6.0.x
Fixed in 6.0 by r1173608 -- it will be in 6.0.34.