Re: log4cxx-0.10.0: Fix for 64 bit-only thread safety bug in ObjectPtrBase

2009-07-29 Thread deepak singh
Use apr, apr-util, expat, log4cxx libraries compiled with -fPIC flag. It works in my case. On Thu, Jul 30, 2009 at 9:06 AM, Curt Arnold wrote: > > On Jul 16, 2009, at 7:43 AM, abgimeno wrote: > > >> Hi >> >> I have the same problem and I could not solve. I have installed the >> version >> apach

Segmentation fault from log4cxx on 64 bit platform

2009-07-15 Thread deepak singh
Hi, I am getting segmentation fault from log4cxx when running on 64 bit platform (linux). Though its working fine on 32 bit machine. Can you please help me out? gdb back trace output:--- #0 apr_pool_create_ex (newpool=0x8b1940, parent=0x8b8418, abort_fn=0, allocator=0x8b4300) at memory/unix/

log4cxx::NDC::cloneStack() and inherit() functions missing in 0.10.0

2009-06-23 Thread deepak singh
> > hi, >log4cxx::NDC::cloneStack() and inherit() functions are missing from > 0.10.0. >Is there any work around for these functions in the 0.10.0. >I want to inherit the NDC stack of the parent thread to the child > thread. > Thanks Deepak

cloneStack() and inherit() functions missing in 0.10.0

2009-06-23 Thread deepak singh
hi, log4cxx::NDC::cloneStack() and inherit() functions are missing from 0.10.0. Is there any work around for these functions in the 0.10.0. I want to inherit the NDC stack of the parent thread to the child thread. Thanks Deepak

NDC stack of parent thread visible to child thread??

2009-06-23 Thread deepak singh
Hi, Is there any way through which I can inherit the NDC stack to the child thread? I have a parent thread running and create a child thread, I want the NDC stack of the parentthread should also be applied to the child thread. Please let me know if we have anyway to do that? Thnaks Deepak

Issue with using NDC (nested diagnostic contexts)

2009-06-15 Thread deepak singh
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 log4cxx::NDC::push("Thread specific Info"); printing some log4cxx messages... //Just before exitin

Log4cxx output redirect to stderr (linux)

2009-05-30 Thread deepak singh
Hi, Do we have any config option in log4cxx to redirect log4cxx output to stderr on linux? Thanks Deepak

How to print there ID in decimal

2009-05-27 Thread deepak singh
I am using following pattern layout, Using [%-5t] to print the thread name which prints in hexadecimal. Is there any way to print thread ID in decimal. log4cxx::PatternLayout("%c-%p (%d{dd MMM HH:mm}) [%-5t] %m%n") Thanks Deepak

Re: Issue with PropertyConfigurator::configure function

2009-05-25 Thread deepak singh
ern set by log4j which is to silently swallow any > configuration errors. Add a log4j.debug=true to your property file and you > may get some diagnostic output to the console. Otherwise, post your > configuration file here and we can help. > > > > On May 24, 2009, at 3:14 PM, de

Issue with PropertyConfigurator::configure function

2009-05-24 Thread deepak singh
Hi, I am using property file to configure the log4cxx. I am not able to check the correctness of the input property file. I tried the try, catch but PropertyConfigurator::configure function is not throwing any exception. I passed the dummy property file and in this case configure file printing f