Logging entries appearing twice
661599Jan 27 2011 — edited Jan 27 2011Hi,
I've a problem with log4j and Apache Commons Logging that I'm hoping someone can assist with. Logging appears twice in my application logs. I've a single log4j and a single commons-logging jar on my classpath. My log4j.properties simply contains the following:
log4j.rootLogger=ERROR, A1
log4j.appender.A1=org.apache.log4j.ConsoleAppender
This writes to wrapper.log in my Tomcat logs directory, with duplicate entries for each log.
Can anyone advise me on what the problem may be here?
THanks