Fergus, An MDC.clear method has been added. It will be available in log4j 1.3.
--- Fergus Gallagher <[EMAIL PROTECTED]> wrote: > 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. The return value of MDC.getContext can be null. -- Ceki __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
