December 20th, 2008, 07:39 AM
We are using the spring framework and log4j.
When our project is compiled we get
log4j:WARN No appenders could be found for logger (org.springframework.beans.factory.xml.XmlBeanDefinitionReader).
log4j:WARN Please initialize the log4j system properly.
I'm not sure what this means. I initialize log4j in each class with
static Logger logger = Logger.getLogger(ClassName.class);
Tried to google the error message but I'm still clueless
Thanks in advance :-(
December 20th, 2008, 10:41 AM
Re: Log4j, Springframework
Configuring Log4J is explained in the log4j manual.
For a basic configuration add the following line to your main method
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.