This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Log4j warning

 
Ramesh Etta
Ranch Hand
Posts: 47
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

I have configured Log4j for my application and when i start the tomcat server i am able to see some log4j warnings like this:

log4j: WARN: No appenders could be found for logger (org.apache.commons.beanutils.Convertutils ).
log4j: WARN: Please initialize the log4j system properly.

Could anyone have idea about this problem.

I dont want this messages to be comming.

Is there any changes to be made. please help me.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15150
31
Android IntelliJ IDE Java Scala Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That means that Log4J is not picking up its configuration file. How did you name the file and where did you put it?
 
Paul Clapham
Sheriff
Pie
Posts: 20196
26
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or it could mean that your log4j configuration file does not specify an appender for that class. (As the message specifically says.)

If you don't want to see that message then (a) make sure your configuration file is in the correct place, and (b) make sure it specifies an appender for that class.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic