logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Lynn <jmly...@yahoo.com>
Subject Is it safe to use log4cxx in multi-threaded environement?
Date Mon, 06 Dec 2004 17:44:00 GMT
Is is safe to log to the same log file from multiple worker threads with each thread calling
the following to get a new logger instance:
LoggerPtr logger = Logger::getLogger("Test1");
whereas the main thread configured the logger as:
I understand I can use the socket listener for multi-processes and multi-server environment
but just wonder if it is safe if my app only runs in a single server with multiple worker

Do you Yahoo!?
 Meet the all-new My Yahoo!  Try it today! 
View raw message