[logback-dev] [Bug 64] New: Logback MDC context is not inherited by child threads.
bugzilla-daemon at pixie.qos.ch
bugzilla-daemon at pixie.qos.ch
Fri Apr 13 16:14:11 CEST 2007
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: logback-dev at qos.ch
ReportedBy: bendis at bendis.cz
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.
More information about the logback-dev
mailing list