Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

turning off logging from Tomcat components

 
William Stafford
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic