|
RE: NDC in threads?: msg#00057log.log4net.user
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:oliver@xxxxxxxxxxxx] > 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 > > |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Programmatically determine if DOMConfigurator.Configure() failed: 00057, Nicko Cadell |
|---|---|
| Next by Date: | Re: NDC in threads?: 00057, Oliver Sturm |
| Previous by Thread: | NDC in threads?i: 00057, Oliver Sturm |
| Next by Thread: | Re: NDC in threads?: 00057, Oliver Sturm |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |