|
||||||||
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira |
_______________________________________________ logback-dev mailing list logback-dev@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-dev
Also was hit by this. I vote for completely replacing the InheritableThreadLocal by a ordinary ThreadLocal. The days of Java 1.4 are over, when a thread was started for a single task and then finished. Since Java 1.5 ExecutorServices with ThreadPools are recommended, and these start threads on demand and also reuse threads for multiple tasks. Thus MDC-Values are easily propagated to unrelated tasks, which is unwanted.