Hello, 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 :-(
Configuring Log4J is explained in the log4j manual. For a basic configuration add the following line to your main method Code: BasicConfigurator.configure();
BasicConfigurator.configure();
Forum Rules
Bookmarks