Bringing this to the mailinglist.

Ralph, I understand what you explained below, but I am lost on how to
fix it. Do you have any more suggestions?
I must actually admit that I am not familiar with MDC at all, probably
that's my problem with it.

On Wed, May 30, 2012 at 7:26 AM,  <[email protected]> wrote:
> https://issues.apache.org/bugzilla/show_bug.cgi?id=50486
>
> --- Comment #37 from Ralph Goers <[email protected]> ---
> Yes, that is what clear is for.
>
> I don't see how Hierarchy.shutdown() can call MDC.clear(). Well, it could but
> it would only clear the thread the shutdown is performed on which isn't likely
> to help much.
>
> Item 2 is likely to cause many problems.  MDC.clear only clears the current
> thread's ThreadLocal. Reinitializing the MDC will cause problems for all the
> other threads.
>
> --
> 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]
>



-- 
http://www.grobmeier.de
https://www.timeandbill.de

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

Reply via email to