logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Antonsen" <geir.anton...@morecom.no>
Subject Multiple loggers with different level problem
Date Thu, 14 Aug 2003 15:11:41 GMT
I've run into a problem with having different log levels for to (or more) loggers on the same
branch in logger hierarchy.

It seems that even if the parent logger level is set to OFF, it logs all messages that its
child logs.

  <logger name="implementation" > 
	  <level value="OFF" />
	  <appender-ref ref="Console" />

  <logger name="implementation.com.metro.telenor.test.MetroLogTestClientOtherClass" >

	  <level value="ON" />
	  <appender-ref ref="Chainsaw" />

...will log to both Console and Chainsaw.

Is it possible to get around this behaviour? Have I missed a point somewhere?
Is it a bug?


Geir Antonsen


To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org

View raw message