The initial problem description was sent to the users list: http://www.mail-archive.com/log4j-u...@logging.apache.org/msg11921.html

However, I think it actually belongs here...

I believe that the MDC should provide a method that internally calls ThreadLocal#remove which was added to the API with Java5:
http://download.oracle.com/javase/6/docs/api/java/lang/ThreadLocal.html#remove%28%29

Other libraries/frameworks start fixing their issues with this, too:
- https://issues.apache.org/jira/browse/LANG-586
- https://jira.springsource.org/browse/SPR-7441
- https://jira.springsource.org/browse/SEC-1578

Regards,
Marcel

P.S. I'm using the slf4j MDC but AFAIK it simply delegates to log4j.

--
Marcel Stör, http://www.frightanic.com
Couchsurfing: http://www.couchsurfing.com/people/marcelstoer
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-dev-h...@logging.apache.org

Reply via email to