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

View: New views
3 Messages — Rating Filter:   Alert me  

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

by Campbell, Lance-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

by Caldarale, Charles R :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> From: Campbell, Lance [mailto:lance@...]
> 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@...
For additional commands, e-mail: users-help@...


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

by Campbell, Lance-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...]
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@...]
> 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@...
For additional commands, e-mail: users-help@...


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