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
threads.



--
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.

Reply via email to