[slf4j-user] Performance and the JDK1.4 logger

Ceki Gulcu listid at qos.ch
Thu Feb 14 19:55:19 CET 2008


Hello Ian,

I've created a bug report to deal with this bug. Thank your for the thorough 
analysis of the problem.

Ian Carr wrote:
 >
 > I have noticed significant delays in processing in certain areas and running
 > the application under a profiler the hotspot is Throwable.getStackTrace,
 > called from (disabled) debug and trace logging statements.
 >
 > It would appear from browsing the SLF4J source that the trace(String) and
 > debug(String)  and some others) implementations for JDK1.4 logging
 > (org.slf4j.impl.JDK14LoggerAdapter) do not have 'level enabled' gating and
 > fall straight through to the private log method eg:

[snip]

-- 
Ceki Gülcü
QOS.ch is looking to hire talented developers in Switzerland.  If
interested, please contact c e k i @ q o s . c h





More information about the slf4j-user mailing list