Solved

Trying to get log4j configured with tomcat 6

Posted on 2011-02-22
1
892 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 to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
The viewer will learn how to dynamically set the form action using jQuery.

757 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now