Hi all,
following is the typical call stack when calling log4j's isDebugEnabled:
+-> log.isDebugEnabled() +-> repository.isDisabled() +-> this.getEffectiveLevel() +-> level.isGreaterOrEqual()
Seems pretty heavy load for me (when debugging disabled).
This is only because repository.isDisabled() always returns false -- How to set-up the log4j.xml file that repository.isDisabled() returns true if a logger is disabled? (and so this.getEffectiveLevel() & level.isGreaterOrEqual() aren't executed)
Following xml settings
<root> <level value="OFF"/> </root>
<logger name="ch.adnovum.some.package"> <level value="OFF"/> </logger>
didn't help...
Regards, Simon
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]