Solved

Trying to get log4j configured with tomcat 6

Posted on 2011-02-22
1
908 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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
hibernate example issues from command prompt 10 50
going to wrong jsp page 2 33
ejb mdb examples 1 9
printf performancy 11 71
Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
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…
This video teaches viewers about errors in exception handling.
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…

828 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