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

GS gurnamsjunk at gmail.com
Thu Aug 4 23:22:29 CEST 2011

Just figured it out. It was caused due to multiple slf4j bindings. After
excluding some redundant jars from the classpath, the issue went away.
Thanks for your help Ceki.

On Thu, Aug 4, 2011 at 5:18 PM, Ceki Gülcü <ceki at qos.ch> wrote:

> On 04/08/2011 10:39 PM, GS wrote:
>> 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).
> Thanks for the response. The binary from which the call is made is
> irrelevant. Can you reproduce the problem in a unit test?
> --
> 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/58cc87c4/attachment.html>

More information about the Logback-user mailing list