Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

log4j:ERROR Please initialize the log4j system properly.

843838May 22 2007 — edited Feb 8 2008
Hi

log4j:ERROR No appenders could be found for category (DB).
log4j:ERROR Please initialize the log4j system properly.

when i am using log4j-config.xml with tomcat 5.x as server i am getting above given error.

but if i use log4j.properties files ,it doesnot display any error and works fine

I am configuring log4j-config.xml using

PropertyConfigurator.configure( String );

can any one suggest how to resolve this error if i configure log4j-config.xml
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 7 2008
Added on May 22 2007
1 comment
311 views