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 stopped working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Log4j stopped working" Watch "Log4j stopped working" New topic

Log4j stopped working

Mike Himstead
Ranch Hand

Joined: Apr 12, 2006
Posts: 178

I suddenly have a problem where logging in my web app is broken. First the

This file resides in WEB-INF/classes. When deploying my web app in a Tomcat 5.0.27 catalina.out has the following lines:

INFO: Installing web application at context path blabla...
log4j:WARN No appenders could be found for logger (somepackage.BOLogger).
log4j:WARN Please initialize the log4j system properly.

The BOLogger class is a bean which is initialized when accessing the web app's start JSP. I have absolutely no idea what is going on since usually this message means that log4j can't configure itself because the is at the wrong place or missing. Unfortenately I have only very limited access to the Tomcat (I can only access the logs and my application's folders).

Any ideas?
I agree. Here's the link:
subject: Log4j stopped working
jQuery in Action, 3rd edition