File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes tomcat console prints - stopping Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat console prints - stopping" Watch "tomcat console prints - stopping" New topic

tomcat console prints - stopping

Atul Darne
Ranch Hand

Joined: Jul 05, 2009
Posts: 118


Recently i switched to a new tomcat version. i found that when i start up with the tomcat in terminal with command - [i have my web app deployed in it.]


all the console gets printed in the terminal -

i want to stop all this printing..

my previous tomcat started and didn't show any output at terminal, is there any setting to close this ? printing on console.?

Regards, Atul.
I came to this world on a Learner's License
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17410

It all depends on which Tomcat bundle you installed, which depends somewhat on what OS you're running Tomcat under.

Tomcat routes its primary server log to stdout. Many Tomcats redirect this stream to TOMCAT_HOME/logs/catalina.out. You can redirect stdout yourself, however, using the same mechanism that any Unix-style command would.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: tomcat console prints - stopping
It's not a secret anymore!