logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nandan S <nandan.shantha...@hp.com>
Subject log4cxx and threads
Date Sat, 31 May 2014 13:31:08 GMT
I have used log4cxx static library in my threaded application and facing
issues with respect to logging. I would like to log messages from each
thread in a different file. To achieve this, i am calling log4cxx
setfilename() method in each thread. 

But each thread is not logging in it's specific file and the output is
jumbled in different files. Is it that, log4cxx has static variables due to
which i am observing this issue.
Can anybody suggest me how logging to different files can be achieved using

View this message in context: http://apache-logging.6191.n7.nabble.com/log4cxx-and-threads-tp47713.html
Sent from the Log4cxx - Users mailing list archive at Nabble.com.

View raw message