How to redirect stdout&stderr into files in Tomcat 4.1.29 on RedHat 9 ?

G

Guest

Well I am trying to redirect the stderr & stdout from servlets running under
Tomcat 4.1.29 on RedHat 9cinto files because of debuging. I am not able
to find out the correct place to configure it.
Thanks
Jan Kopinec
 
J

Joona I Palaste

(e-mail address removed) scribbled the following:
Well I am trying to redirect the stderr & stdout from servlets running under
Tomcat 4.1.29 on RedHat 9cinto files because of debuging. I am not able
to find out the correct place to configure it.

Have you tried System.setOut() and System.setErr()?
 
G

Guest

Well System.setOut/Err() works when included into servlets.
%CATALINA_HOME%/logs/
works on my Windows2000 but not on RedHat9 for stderr and stdout for
servlets, there
is catalina only output on Linux. Well is there any simple solution for
Linux without changing
of servlet code?
Thanks
Jan Kopinec
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top