Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Log4j stopped working

 
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

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


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 log4j.properties 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?
 
Your mother was a hamster and your father was a tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic