See http://logging.apache.org/log4cxx/manual/Introduction.html#NDC

Nested Diagnostic Context is per-thread. Since the test function was running on different threads, they should not see anything pushed into the NDC of the main thread. Sounds like it is doing what it supposed to be doing.

On Apr 20, 2005, at 11:02 PM, prakash kadam wrote:

Hi all,

�� I use delayed loop, where i running 'test' function continuously.� I push "main" from 'main' function in to NDC and then i created 10 thread which runing test function. and In 'test' function puses "test" in NDC , so when i want ndc output, it only shows 'test' which is pushed by thread and not showing "main:test" as output. I am not understanding functionality, can somebody explain me little detail.


Thanks prakash

Prakash F. Kadam
ISSC, Pune University
Walla! Mail - get your free 1G mail today

Reply via email to