File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Sep 18, 2007
Sep 20, 2007 06:40:00
I have configured Log4j for my application and when i start the
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
Joined: Aug 16, 2005
Sep 20, 2007 08:43:00
That means that Log4J is not picking up its configuration file. How did you name the file and where did you put it?
Java Beginners FAQ
JavaRanch SCJP FAQ
The Java Tutorial
Java SE 7 API documentation
- My blog about Scala
Joined: Oct 14, 2005
Sep 20, 2007 09:41:00
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:
subject: Log4j warning
About log4 in eclipse/jbpm
Help! I am getting strange and unusual Eclipse Warnings
Log4j: Warn no appenders could be found for logger (com.mcreations.usb.windows.JavaxUsb)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013