Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.5
-
Fix Version/s: 2.6
-
Component/s: None
-
Labels:None
Description
Certain admin actions spawn scheduled task threads. Once thread gets "admin" userid in cloned MDC, it will be stuck with it forever as according to logback doco, the MDC is cloned in moment of creation, and stays detached. That's how it's "inherited". So, not a biggie, but still might be confusing while reading logs...
Expected, when thread is done its work and gets put back in pool, MDC is cleared.
related:
http://jira.qos.ch/browse/LOGBACK-624