Solved

Trying to get log4j configured with tomcat 6

Posted on 2011-02-22
1
903 Views
Last Modified: 2012-06-27
I'm trying to get log4j configured with tomcat 6 on centOS linux but I keep getting this message:
log4j:WARN No appenders could be found for logger (FullLogging).
log4j:WARN Please initialize the log4j system properly.

I read about the CATALINA_OPTS solution but tomcat runs under the tomcat user and I'm not sure how to set up the environment variable for that user. That user doesn't have a home directory (should I create one?) so there's no .bashrc for me to modify.
0
Comment
Question by:opike
1 Comment
 
LVL 92

Accepted Solution

by:
objects earned 500 total points
ID: 34957659
just add log4j config file to the classes directory of your webapp
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question