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

Jason Berk jasonrberk at gmail.com
Thu Aug 4 23:26:39 CEST 2011


I think I'm having the same issue....multiple SLF4J bindings...  but
because of Spring (i think??)



On Thu, Aug 4, 2011 at 5:22 PM, GS <gurnamsjunk at gmail.com> wrote:
> 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
>
>
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://qos.ch/mailman/listinfo/logback-user
>
>



-- 
Jason Berk
http://picasaweb.google.com/JasonRBerk


More information about the Logback-user mailing list