File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Disabling Tomcat logging to CONSOLE

Alex Fishchuk
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys...
I spent a couple of hours looking for a proper way to DISABLE CONSOLE LOGGING in tomcat 4.1.x ....
here is the solution...
1. place and files in <TOMCAT_HOME>\common\classes

log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
log4j.rootLogger=OFF, stdout

that would disable concole logging and give u fine grained control over logging config
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic