logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua ChaitinPollak <j...@kivasystems.com>
Subject JUL Bridge Question
Date Fri, 09 Nov 2007 00:18:33 GMT
The JUL Log4j bridge has been working great for us, but I'm  
wondering, doesn't it set the JUL root level logging to FINEST? If  
that is the case, what if some 3rd party library has code like if  
(log.isFinerEnabled() ) { doReallyExpensiveOperation(); } ?

Would this mean that even if the log4j log level for that package is  
at WARN, the 3rd party library would be doing the expensive  
operation? Or does the JUL bridge pass the log4j configuration back  
to JUL? If not, is that a reasonable feature to add?



Joshua ChaitinPollak
Software Engineer
Kiva Systems

Joshua ChaitinPollak
Software Engineer
Kiva Systems

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

View raw message