http://bugzilla.qos.ch/show_bug.cgi?id=64

           Summary: Logback MDC context is not inherited by child threads.
           Product: logback-classic
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Other
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


As stated in the javadoc documentation, the ch.qos.logback.classic.MDC should
be inherited by a child thread:

"A child thread automatically inherits a copy of the mapped diagnostic context
of its parent."

But the context is NOT ihnerited by child threads - the context HashMap is
stored in the ThreadLocal, not in the InheritableThreadLocal.

Regards,
Bendis


-- 
Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
logback-dev mailing list
[EMAIL PROTECTED]
http://qos.ch/mailman/listinfo/logback-dev

Reply via email to