https://issues.apache.org/bugzilla/show_bug.cgi?id=50486

--- Comment #36 from grobmeier <[email protected]> ---
Isn't that what clear() is for?

When somebody calls clear() then ThreadLocal.remove() is called which should
remove the whole map. Imho on container shutdown MDC.clear() should be called.
Therefore I would think 

1) Hierarchy.shutdown() should call MDC.clear()
2) MDC.clear should do this after clearing: MDC.mdc = new MDC();

Wdyt?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to