tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Software AG <>
Subject AW: error and output redirected on file with Tomcat 4.0.
Date Mon, 24 Jun 2002 14:43:21 GMT
Hi, jsmadja.

I cannot follow your problem. You want to have everything your application
(=servlets and other code) prints to stderr/stdout be redirected to a file?

Here I have the standard installation of Tomcat on a W2K box. As soon as
Tomcat starts as a service, stdout and stderr are autormatically redirected.
Have a look at your log directory.


> -----Urspr√ľngliche Nachricht-----
> Von: []
> Gesendet: Montag, 24. Juni 2002 16:14
> An:
> Betreff: error and output redirected on file with Tomcat 4.0.
> Hello,
> I don't know how to send error or output streams into a file 
> so that system.err or system.out or printstackTrace are 
> writen on file instead of  screen which not contains enough 
> space to see the whole output.
> I use Logger element apply on a context but it doesn't work:
> A context can accept only one logger and the only class which 
> seams to be accepted by tomcat is the FileLogger class. 
> SystemOutLogger and SystemErrLogger has no affect except that 
> all outputs are written on screen.
> PS: Tomcat 4.0 version
> thanks for answers

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message