You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Rob Walker <ro...@softsell.com> on 2001/07/05 18:11:00 UTC

question on NDC's

There's probably a good reason for this, but it struck me that 
InheritedThreadLocal's might help with child threads auto-inheriting 
their parent's NDC.

Anyone looked into this. Immediately obvious drawback would be 
compatibility, since I think ThreadLocal/InheritedThreadLocal are 
JDK1.2+. But in other senses they look to perhaps offer a good 
option.

- Rob

SoftSell Business Systems, Ltd.
' testing solutions for a changing world '
 
+44 (20) 7488 3470
www.softsell.com
robw@softsell.com

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org


Re: question on NDC's

Posted by Ceki Gülcü <cg...@qos.ch>.
Rob,

Yes, this has been suggested in the past. I think it is quite an important feature. Thanks for the suggestion in any case. InheritedThreadLocals will be used if and when we drop support for JDK 1.1 sometime in the future, probably in log4j version 1.2. Regards, Ceki

At 17:11 05.07.2001 +0100, Rob Walker wrote:
>There's probably a good reason for this, but it struck me that 
>InheritedThreadLocal's might help with child threads auto-inheriting 
>their parent's NDC.
>
>Anyone looked into this. Immediately obvious drawback would be 
>compatibility, since I think ThreadLocal/InheritedThreadLocal are 
>JDK1.2+. But in other senses they look to perhaps offer a good 
>option.
>
>- Rob
>
>SoftSell Business Systems, Ltd.
>' testing solutions for a changing world '
> 
>+44 (20) 7488 3470
>www.softsell.com
>robw@softsell.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: log4j-user-help@jakarta.apache.org

--
Ceki Gülcü


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org