Hi All, I have servlet and integrating with Log4j. These are all under .war file and it is extracting properly. When am invoking the servlet the following error is coming.. pls help me out how to solve this problems. log4j:WARN No appenders could be found for logger (qimcmdprocessor). log4j:WARN Please initialize the log4j system properly. Thanks a lot Jowsaki
posted 11 years ago
the quickest fix would be to insert the following line BEFORE any logging statements are executed: org.apache.log4j.BasicConfigurator.configure(); You should spend a little more time configuring your appenders/loggers, preferably in a config file, but this is the easiest way to get rid of the errors. enjoy.