wood burning stoves 2.0*
The moose likes Tomcat and the fly likes turning off logging from Tomcat components Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "turning off logging from Tomcat components" Watch "turning off logging from Tomcat components" New topic
Author

turning off logging from Tomcat components

William Stafford
Ranch Hand

Joined: Dec 13, 2004
Posts: 109
How do I turn off logging from Tomcat components that I don't care about. I see a lot of the following in my apps log file:

DEBUG SmapUtil.java.copyConstantPool():446 52 copying 2 bytes

I know this is done by an addition to the log4j config file but I have unsuccessfully tried about 100 combinations of log4j and package names using the
general pattern:

log4j.logger.org.apache.jasper=OFF

Can someone enlighten me as to how to turn off these messages.

Thanks,
-=beeky
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: turning off logging from Tomcat components
 
Similar Threads
New to log4j
Determining the active log4j.properties file
rotation of catalina logs per day
J2SE Logging Framework
J2EE and Logging