jGuru: Is this normal to see? Is there a way to turn this off??: "The digester class that tomcat uses to process its config files output an unholy amount of debug information through log4j. I am guessing that you enabled log4j debugging for your webapps and are now seeing the internal logs for Tomcat. You have two options:
First, you can move log4j into your webapp. Since this will be loaded as part of its own classloader, it should not get the Tomcat internal stuff. If you want a global log4j config for all webapps, you can probably put the jar in shared/lib.
Second, you can disable debug logging for specific categories(or globally) that are causing you grief. To disable debug logging globablly, in your log4j config file (specified with -Dlof4j.configuration=file:log4j.properties or the log4j.properties file on the classpath), add the line
log4j.threshold=info
To disable it for a specific category:
log4j.logger.org.apache.commons.digester.Digester=info
If you are using an old version of log4j, the property names change a bit. I think that log4j.logger is changed to log4j.category and log4j.threshold is changed to log4j.priority, but I can't quite remember.
Hope this helps."
Tuesday, April 12, 2005
Subscribe to:
Post Comments (Atom)
Popular Posts
- AS400 Job Scheduler
- Recover or reset QSECOFR passwords
- Make a Home made, open source mp3 Player
- A free fully functional database is yours with Microsoft's SQL Server Express
- AS400 Jobs: Do you have a job at the moment?
- Sending and receiving email on i5/os - QtmmSendMail
- 3 fires up high-speed Super 3G network, News at CNET.co.uk
- AS400 API - QCMDEXC - Execute Command
- API Example - Deleting Old Spooled Files
- UDATE and *DATE in AS400 RPG
No comments:
Post a Comment