|
|
Sponsor |
No appenders could be found for logger: msg#00071apache.logging.log4cxx.user
Hi, I have written two separate and independent test programs to implement the log4cxx functionality, one is a stand-alone EXE and the other is a shared object (.so). The EXE is working correctly, and the shared object is outputting: No appenders could be found for logger (Test_so). Please initialize the log4cxx system properly. Both of these are using the *same* properties file. I have written another small EXE that just calls the function exposed by the shared object, that's all. [the shared object has the logging mechanism of log4cxx] The snippet of the properties file is given below. Please advise if I am missing something. {OS: Solaris 8; compiler: gcc 3.3.2} log4j.rootLogger=debug, stdout, R log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout # Pattern to output the caller's file name and line number. log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (F:L) - %m%n log4j.appender.R=org.apache.log4j.RollingFileAppender log4j.appender.R.File=../logs/example.log log4j.appender.R.MaxFileSize=100KB # Keep one backup file log4j.appender.R.MaxBackupIndex=1 log4j.appender.R.layout=org.apache.log4j.PatternLayout log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n Regards, Ambarish. <<attachment: winmail.dat>>
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: error building CVS head on linux (redhat 3.0), Curt Arnold |
|---|---|
| Next by Date: | RE: No appenders could be found for logger, Ambarish Mitra |
| Previous by Thread: | Re: Can I have time stamp in log file name?, FabijanicA |
| Next by Thread: | RE: No appenders could be found for logger, Ambarish Mitra |
| 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.
|