Hi, These logs are not on by default normally. You'll need to show us: - the exact console logs you get - your log4J file in WEB-INF/classes - the list of jars from your WEB-INF/lib directory that matches the patterns: *logging*, *log4j*, *slf4j* - tell us what modifications you've brought from the standard XWiki WAR file Thanks -Vincent On May 26, 2011, at 10:22 PM, Scardino, Leonard R Jr ERDC-ITL-MS Contractor wrote:
Ok, I have an exception "java.sql.SQLException: org.apache.commons.dbcp.PoolablePreparedStatement..." that is making it to Tomcat's standard out log (tomcat5-stdout.2011-05-26.log). I've tried everything I can think of in the log4j.properties file to get this exception to either not show up at all or log to a different file. This exception does not have any formatting like is specified in the log4j.properties file. So I don't think it's being logged, so much as just finally falling through and going to stdout.
I've spent all dang day trying to find a way to keep this exception from filling my logs, or to figure out why the darn thing is happening in the first place. I've put in a ticket for the exception, but it still hasn't even been picked up yet. I've emailed this list, but no one was able to help.
So I just want to log this exception somewhere else so it doesn't complicate my main log file. Can someone explain how to do this? I fancy myself a good programmer, but of all things this is stumping me.
Thanks,
Lenny