![]() |
| |||
| Hi - I am deploying a war file to tomcat, and within the war there is a jar file that uses log4j (via commons-logging). However I keep getting log4j:WARN No appenders could be found for logger log4j:WARN Please initialize the log4j system properly. The log4j.properties file is on the root of my jar file, and when I did a System.out.println(MyClass.getClass().getClassLoad er().getResource("log4j.properties")) I can see the file in my Jar file. Whats wrong? Why can't JCL/Log4J see the same file? Thanks. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |