In servlets, for example, threads are reused, so entries in the MDC will get
carried over from one request to the next.  There's no direct way to clear
the MDC, so will

            MDC.getContext().clear();

cause any problems?  The docs say this is for "internal" use.

Regards

Fergus

-- 
Fergus Gallagher          Tel: +44 (20) 8742 1600
Orbis                     Fax: +44 (20) 8742 2649
414 Chiswick High Street  email: [EMAIL PROTECTED]
London  W4 5TL            Web: http://www.orbisuk.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to