File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Disabling Tomcat logging to CONSOLE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Disabling Tomcat logging to CONSOLE" Watch "Disabling Tomcat logging to CONSOLE" New topic

Disabling Tomcat logging to CONSOLE

Alex Fishchuk

Joined: Dec 15, 2003
Posts: 6
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:
subject: Disabling Tomcat logging to CONSOLE
It's not a secret anymore!