2006/04/10

log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.ConvertUtils)

Whenever I start tomcat with MyEclipse, I see that following message on console. What is that mean? Should I do something? May be this is beyound the MyEclipse but I appreciate it if somone would tell me how I can fix this..


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


No worries, its just a message from one of the libraries (Hibernate maybe) that you are using letting you know that Commons Logging will not use Log4J because it couldn't find aconfig file for it, so it will just log to the console or use the JDK's logger found in JDK 1.4+

If you do include a log4j config file in your classpath, Hibernate can optionally spit out more logging messages than any human may want, for example, if you are debugging complex code.


reference

No comments: