File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes Log4j - Tomcat No appenders error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Log4j - Tomcat No appenders error" Watch "Log4j - Tomcat No appenders error" New topic

Log4j - Tomcat No appenders error

Sham Jowsaki
Ranch Hand

Joined: May 22, 2001
Posts: 146
Hi All,
I have servlet and integrating with Log4j. These are all under .war file and it is extracting properly. When am invoking the servlet the following error is coming..
pls help me out how to solve this problems.
log4j:WARN No appenders could be found for logger (qimcmdprocessor).
log4j:WARN Please initialize the log4j system properly.
Thanks a lot
Paul Stanton

Joined: May 09, 2004
Posts: 3
the quickest fix would be to insert the following line BEFORE any logging statements are executed:
You should spend a little more time configuring your appenders/loggers, preferably in a config file, but this is the easiest way to get rid of the errors. enjoy.
I agree. Here's the link:
subject: Log4j - Tomcat No appenders error
It's not a secret anymore!