Short term: try using swallowOutput="true". [Never used it myself]

Long term: Switch to commons-logging or log4j.


-Tim


Sarika N Inamdar wrote:

Hi,

But the servlet System.out code used to log messages to our application
log when using tomcat 3.

With migration to 4.1.24, we are facing this issue.

Thanks,
Sarika


-----Original Message-----
From: Johan Louwers [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 3:59 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: Redirecting the output to a log file



do not use System.out simply make a write to a file routine and write to a file :-)



Johan.


----- Original Message -----
From: "Sarika N Inamdar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 17, 2003 12:17 PM
Subject: Redirecting the output to a log file



Hi All,
When my servlets are sending some stack trace or System.out

messages ,


all such output is dumped in the catalina.out log. We want the System.out messages to go into our application's log file.

I am using


standalone catalina on Solaris and tomcat 4.1.24. Please suggest on how to proceed to achieve the same. Thanks in Advance,
Sarika






---------------------------------------------------------------------


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]




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



Reply via email to