aspose file tools*
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
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
 
 
subject: turning off logging from Tomcat components