Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.3
-
None
-
None
Description
http://jira.qos.ch/browse/LOGBACK-624 contains the following comment; "My suggestion is that the user should be able to plug in a callback object in the Logback config indicating which keys should be propagated to child threads. This could be PropagateAll (legacy behavior), PropagateNone, PropagateRegex. I would suggest that the default should become PropagateNone, for the reasons I describe above, but making it configurable would probably make everybody happy and prevent more people from forking Logback (as my company has done, privately)."
Log4j current defaults the ThreadContextMap to use a regular ThreadLocal. If the user configures a property then an InheritableThreadLocal will be used. This proposal is to provide finer grained control over what properties are shared with child threads.
Attachments
Issue Links
- is superceded by
-
LOG4J2-1010 Injectable context properties
-
- Closed
-