logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
Subject Re: Context Based Repository Selectors and MDC
Date Mon, 08 Nov 2004 10:36:11 GMT


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?

Ceki Gülcü

      For log4j documentation consider "The complete log4j manual"

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

View raw message