Re: application property

2010-05-14 Thread Jacob L. Anawalt
Doesn't it inherit from the parent thread so if you set the MDC before spawning any new threads it has those properties? On 2010-05-12 08:57, Dale King wrote: I just remembered that MDC is local to each thread, so you need to do this in each thread. In my case my code was a business logic DLL t

Re: application property

2010-05-12 Thread Dale King
Which is yet another reason why we desperately need a new release of Chainsaw. Most of the network appenders don't even work with the current. I tried to build chainsaw a while back, but could not get it to build. On Wed, May 12, 2010 at 11:13 AM, Scott Deboy wrote: > Chainsaw svn head now adds

Re: application property

2010-05-12 Thread Scott Deboy
Chainsaw svn head now adds the receiver name as a property, so you could use that to route events in Chainsaw. I think you also get a property for network appenders containing local socket and port info. Scott On May 12, 2010, at 7:28 AM, "Prestel, John D." wrote: Does log4cxx provide

RE: application property

2010-05-12 Thread Prestel, John D.
n Wed, May 12, 2010 at 10:45 AM, Prestel, John D. wrote: Thanks, Dale! I'll try it and report my findings. From: Dale King [mailto:dalewk...@gmail.com] Sent: Wednesday, May 12, 2010 10:41 AM To: Log4CXX User Subject: Re: application property It does allow it, since I know th

Re: application property

2010-05-12 Thread Dale King
10:45 AM, Prestel, John D. wrote: > Thanks, Dale! I’ll try it and report my findings. > > > > *From:* Dale King [mailto:dalewk...@gmail.com] > *Sent:* Wednesday, May 12, 2010 10:41 AM > *To:* Log4CXX User > *Subject:* Re: application property > > > > It does a

RE: application property

2010-05-12 Thread Prestel, John D.
Thanks, Dale! I'll try it and report my findings. From: Dale King [mailto:dalewk...@gmail.com] Sent: Wednesday, May 12, 2010 10:41 AM To: Log4CXX User Subject: Re: application property It does allow it, since I know that I've done it. Unfortunately that was with a previous emp

Re: application property

2010-05-12 Thread Dale King
It does allow it, since I know that I've done it. Unfortunately that was with a previous employer so I don't have access to the code. I don't know if you can do it through the configuration file. I think I did it using an MDC property in my app's initialization code as in: MDC::put( "applicati