Re: ConversionPattern to print process id and name in log4cxx

2013-09-04 Thread log4cxx
Hi Ramakrishna, We add the Process Id to our file names using environment variables. I'm not sure if this will work in your conversion pattern. If it does, please let the list know. To do this in log4cxx, before initializing, I add an environment variable at the start of the program: #ifdef _

Re: ConversionPattern to print process id and name in log4cxx

2013-09-04 Thread Jacob L. Anawalt
On 9/3/2013 3:35 AM, Ramakrishna S wrote: Is there any replacement to print process id and process name(%P and %N) in log4cxx? I don't think there is process id and name in log4cxx since it is patterned after log4j where the name would be java or java.exe and the normal API doesn't give you