The NDC is thread local and is used to differentiate between actions happening simultaneously but on different threads. Each thread starts with a separate empty stack.
Do you need something different? Nicko > -----Original Message----- > From: Oliver Sturm [mailto:[EMAIL PROTECTED] > Sent: 14 February 2005 13:29 > To: Log4NET User > Subject: NDC in threads? > > Hey, > > I'm wondering: is there a way to log with a specific NDC from > a thread while the rest of the application uses a different > NDC (or an empty stack, rather)? It seems to me like the > current mechanism can only be used to differentiate > sequential parts of the application, not those which might be > running in parallel. Is that right? Is there a solution? > > Thanks, > > Oliver Sturm > -- > omnibus ex nihilo ducendis sufficit unum Spaces inserted to > prevent google email destruction: > MSN oliver @ sturmnet.org Jabber sturm @ amessage.de ICQ > 27142619 http://www.sturmnet.org/blog > >
