Solved

Trying to get log4j configured with tomcat 6

Posted on 2011-02-22
1
915 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
migrating to phpbb forum from vBulletin 4.2 3 97
Convert Silverlight ERP To Angularjs,HTML5 3 109
Java ArrayList and if statement 2 55
junit initializtion error 2 22
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
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…

752 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