wood burning stoves 2.0*
The moose likes Servlets and the fly likes Standard out and error for Tomcat 4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "Standard out and error for Tomcat 4" Watch "Standard out and error for Tomcat 4" New topic
Author

Standard out and error for Tomcat 4

kunoichi
Greenhorn

Joined: Aug 05, 2002
Posts: 2
Hi there
I recently updated Tomcat from 3.3 to 4.08 in my Linux Machine(RH 7). The difference I noticed right away was that the standard out and error are not printed on the console anymore and are instead written in the log file (catalina.out by default). I find it way easier to see in on a sonsole. Is there anyway to configure Tomcat so I can see all the output on a console?
Thank you,
michiko
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
You can check the server.xml file under tomcat install directory\conf\


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
kunoichi
Greenhorn

Joined: Aug 05, 2002
Posts: 2
Thank you for the response. Well, maybe I was not clear. I know that you need to edit the server.xml. My question is that how I can edit the file so standard out & err is printed on the console...
Peter Kristensson
Ranch Hand

Joined: Jul 02, 2001
Posts: 118
Try looking at the startup scripts to see if they redirect the stdout and stderr somewhere.
Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
kunoichi
Welcome to the JavaRanch! Please adjust your display name to meet
the JavaRanch Naming Policy. You can change it here.
Thanks!
and welcome to the JavaRanch!
 
GeeCON Prague 2014
 
subject: Standard out and error for Tomcat 4