Hello,

The MDC is nothing more than a ThreadLocal variable. Consequently, MDC data is attached to a given thread and not to a specific classloader.

>I'm brand new to the classloading experience, but shouldn't we expect
>this behavior since the MDC is loaded by Tomcat's standard classloader?
>

It depends if MDC should be associated with a LoggerRepository or if it is global to Log4j. Can anyone else answer this question more definitively for Ted?


Jake

-- Ceki G�lc�

For log4j documentation consider "The complete log4j manual"
http://www.qos.ch/shop/products/eclm/




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to