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

--- Comment #48 from Patric Rufflar <[email protected]> ---
What if you do not know which key/value pairs have been put to the MDC (if you
think of 3rd party libraries, runtime dependent logic etc.)?

Is calling MDC.clear() at the end of doFilter() of a servlet filter sufficient?

I am really looking forward to some kind of Log4j shutdown method  (which
should be called during servlet context shutdown) which ensures that all
ThreadLocal objects have been removed.

-- 
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