Redirect both the System.out and the System.err to the same outputstream
(which is your FileOutputStream), then you'll avoid the error messages in
the window.

Peter Thorsager


----- Original Message -----
From: "Nik Makepeace" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 02, 2001 16:00
Subject: Logging problems


> Does anyone know how to stop tomcat sending all the servlet error
> output to the screen?  The Loggers adequatelt trap and write all the
> tomcat output, but System.err always seems to go to screen.
> Any suggestions?
>
> Nik
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]


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

Reply via email to