[slf4j-dev] [Bug 325] New: BasicMDCAdapter leaks MDC information to non-child threads

bugzilla-daemon at qos.ch bugzilla-daemon at qos.ch
Tue Jan 27 20:39:40 CET 2015


http://bugzilla.slf4j.org/show_bug.cgi?id=325

          Priority: P5
            Bug ID: 325
          Assignee: slf4j-dev at qos.ch
           Summary: BasicMDCAdapter leaks MDC information to non-child
                    threads
          Severity: major
    Classification: Unclassified
                OS: Linux
          Reporter: lcwik at google.com
          Hardware: All
            Status: NEW
           Version: 1.7.x
         Component: jul-to-slf4j
           Product: SLF4J

BasicMDCAdapter uses a ConcurrentHashMap which is passed by reference from the
parent to the child. All child threads then share the same map reference and
any modifications by one child is visible to the parent thread and also all
other child threads.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/slf4j-dev/attachments/20150127/598d75ea/attachment.html>


More information about the slf4j-dev mailing list