tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kc.baltz" <kc.ba...@inforonics.com>
Subject RE: getting exceptions to log to a logfile rather than to console
Date Tue, 30 May 2000 18:17:17 GMT
If you're running this from UNIX, try adding the following at the end of the
line that starts Tomcat in the tomcat.sh file:

   >logfile 2>&1 &

That will direct both STDOUT and STDERR to a file called logfile.  

K.C.

> -----Original Message-----
> From: Carl [mailto:crb@shore.net]
> Sent: Tuesday, May 30, 2000 11:43 AM
> To: tomcat-user@jakarta.apache.org
> Subject: getting exceptions to log to a logfile rather than to console
> 
> 
> 
> I have tomcat 3.1 with apache 1.3.9.  Does anybody have any idea how
> to redirect the java exception errors that currently show up in the
> console to one of the log files?
> 
> Thanks in advance for any help.
> 
> Carl Buxbaum
> 
> --------------------------------------------------------------
> ------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
> 

Mime
View raw message