|
|
Sponsor |
Is it safe to use log4cxx in multi-threaded environement?: msg#00008apache.logging.log4cxx.user
Hi,
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:
PropertyConfigurator::configure("log4cxx.properties");
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 threads.
Thanks!
jml
Do you Yahoo!? Meet the all-new My Yahoo! ? Try it today!
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Error: You have tried to set a null level to root, Ulf Renman |
|---|---|
| Next by Date: | How do you resolve 'ostream' ambiguous symbol error?, Jeff Lynn |
| Previous by Thread: | Error: You have tried to set a null level to root, Ulf Renman |
| Next by Thread: | Re: Is it safe to use log4cxx in multi-threaded environement?, Curt Arnold |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|