You'd need to write a listener (or other code) which calls the appropriate System calls to set out and err in the JVM.

-Tim

[EMAIL PROTECTED] wrote:
Hi,

I'm runnning Tomcat 4.1.30 on Linux/Unix.  I'm trying to get our app's debug 
info from
catalina.out split into 2 separate stderr and stdout files.  I'm able to do 
this in Windows via
the "System.out File" and "System.err File" registry parameters, but I can't 
find a way to do this
in Linux/Unix.

I've tried a couple things that haven't worked:

(A) Changing catalina.sh from


"$CATALINA_BASE"/logs/catalina.out 2>&1 &

to 2>> "$CATALINA_BASE"/logs/catalina.err 1>> "$CATALINA_BASE"/logs/catalina.out &

(B) JAVA_OPTS and CATALINA_OPTS with -Dstdout= and -Dstderr= params
(C) JAVA_OPTS and CATALINA_OPTS with -outfile= and -errfile= params


Is there any easy way to do this?

Thanks in advance for any assistance.
~RZ




__________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to