On Fri, 23 Mar 2001, Anuj Agrawal wrote:

> Tomcat archives surprisingly didn't answer this clearly. 8(( (Or
> maybe i'm blind cos i was sure this would have been addressed
> somewhere.)
> 
> Using tomcat 3.2.1 with apache on solaris 8, starting tomcat using
> bin/startup.sh, how do i specify which files (rather than the
> console) the stdout and stderr should be redirected to?
> 
> On Windows, it is straight-forward when running as a service - just
> modify the wrapper.properties file.

I'm using AIX, and I just using shell redirection to capture the
stdout/stderr output to files.  In fact, I actually have a script that
does it.  Basically, it makes a call like:

/path/to/tomcat/bin/startup.sh > /somedir/stdout 2> /somedir/stderr

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]

Reply via email to