You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Campbell, Lance" <la...@illinois.edu> on 2009/11/09 17:54:43 UTC

How do I set the location of where catalina.out goes

Tomcat 6
How do I set the location and file name of catalina.out?

Thanks,

Lance Campbell
Project Manager/Software Architect/DBA
Web Services at Public Affairs
217-333-0382


RE: How do I set the location of where catalina.out goes

Posted by "Campbell, Lance" <la...@illinois.edu>.
It just occurred to me to use a symbolic link.  That works great. 


Thanks,

Lance Campbell
Project Manager/Software Architect/DBA
Web Services at Public Affairs
217-333-0382

-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] 
Sent: Monday, November 09, 2009 11:21 AM
To: Tomcat Users List
Subject: RE: How do I set the location of where catalina.out goes

> From: Campbell, Lance [mailto:lance@illinois.edu]
> Subject: How do I set the location of where catalina.out goes
> 
> How do I set the location and file name of catalina.out?

The catalina.out file is not used directly by Tomcat itself.  Rather,
it's a redirection of stdout and stderr set up by the catalina.sh
script.  You're free to modify the script to redirect anywhere you want;
note that there are three references to the file in the script.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: How do I set the location of where catalina.out goes

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Campbell, Lance [mailto:lance@illinois.edu]
> Subject: How do I set the location of where catalina.out goes
> 
> How do I set the location and file name of catalina.out?

The catalina.out file is not used directly by Tomcat itself.  Rather, it's a redirection of stdout and stderr set up by the catalina.sh script.  You're free to modify the script to redirect anywhere you want; note that there are three references to the file in the script.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org