It's not a secret anymore!
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


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
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: 17151
    
  27

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: http://aspose.com/file-tools
 
subject: tomcat console prints - stopping
 
It's not a secret anymore!