[logback-user] MDC bug in 0.9.28

Becker, Thomas Thomas.Becker at netapp.com
Tue Mar 1 16:33:07 CET 2011


FYI, I just opened http://jira.qos.ch/browse/LBCLASSIC-253 regarding
modifications to a child thread's MDC affecting the parent thread.  It
looks like LogbackMDCAdapter.clear() incorrectly calls clear() on the
HashMap before removing the ThreadLocal.  This is bad because the map is
still potentially shared with the parent thread at that point.

 

Regards,

Tommy

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20110301/8002e5ef/attachment.html>


More information about the Logback-user mailing list