GeeCON Prague 2014*
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
Author

tomcat console prints - stopping

Atul Darne
Ranch Hand

Joined: Jul 05, 2009
Posts: 118

Hi,

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.]

sh startup.sh

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: 16094
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
GeeCON Prague 2014
 
subject: tomcat console prints - stopping