Hello everyone,
I'm using
struts, log4j and the
JBoss web server...here's my problem:
I'm trying to setup log4j with struts and I've done the following things:
1) Put the log4j.xml file in WEB-INF/classes directory.
2) Added the log4j.jar file to the classpath (in my build file)
I'm still getting the following error in my log:
log4j:WARN no appenders could be found for logger mylog
log4j:WARN Please initialize the log4j system property
I had one of my co-workers use the appender in a non-struts related .java file and it works fine. PLEASE HELP
What am I doing wrong???