[logback-user] Getting null from getPropertyMap in LogbackMDCAdapter in the same thread, different binary

GS 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
> http://logback.qos.ch/job.html
> ______________________________**_________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://qos.ch/mailman/**listinfo/logback-user<http://qos.ch/mailman/listinfo/logback-user>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20110804/6e2b4eab/attachment-0001.html>

More information about the Logback-user mailing list