[logback-user] Getting null from getPropertyMap in LogbackMDCAdapter in the same thread, different binary
gurnamsjunk at gmail.com
Thu Aug 4 22:39:03 CEST 2011
I have a turbofilter (MDCFilter) configured and I do MDC.put in one binary
(sessionstuff.jar) and the logger is called in another binary
(mywebapp.war), which is where the MDCFilter is called for a decision and
the property map is now missing (null).
On Thu, Aug 4, 2011 at 4:27 PM, Ceki Gülcü <ceki at qos.ch> wrote:
> On 04/08/2011 7:46 PM, GS wrote:
>> After switching from log4j to logback, I am getting null
>> from getPropertyMap() in LogbackMDCAdapter. I can confirm that it's the
>> same thread where the value is being put. However the put is called in a
>> different binary (same JVM of course).
> What do you mean by "put is called in a different binary"?
> QOS.ch, main sponsor of cal10n, logback and slf4j open source projects, is
> looking to hire talented software developers. For further details, see
> Logback-user mailing list
> Logback-user at qos.ch
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Logback-user