Re: Issue with using NDC (nested diagnostic contexts)

2009-06-15 Thread Jacob L. Anawalt
On 2009-06-15 06:16, deepak singh wrote: On Mon, Jun 15, 2009 at 5:43 PM, Assaf Lavie wrote: On Mon, Jun 15, 2009 at 3:11 PM, deepak singh wrote: I am using NDC (*nested diagnostic contexts*) for appending the text from a specific thread. But the issue is I am not able to get the "Thread

Re: Issue with using NDC (nested diagnostic contexts)

2009-06-15 Thread deepak singh
I am using following format. //log4cxx initialization log4cxx::LogManager::resetConfiguration(); log4cxx::LayoutPtr layoutPtr(new log4cxx::PatternLayout("%c-%p (%d{dd MMM HH:mm:ss}) [%-5t] %m%n")); log4cxx::AppenderPtr appenderPtr( new log4cxx::ConsoleAppender(layoutPtr, "System.err")

Re: Issue with using NDC (nested diagnostic contexts)

2009-06-15 Thread Assaf Lavie
What format pattern are you using? On Mon, Jun 15, 2009 at 3:11 PM, deepak singh wrote: > Hi, > I am using NDC (*nested diagnostic contexts*) for appending the text > from a specific thread. > Using floowing code: > > - > //In side the run method of that thread > l