Hi Shankar,
I am not using System.out commands in my webapps.
for some reason, the log4j messages are being appended to catalina.out

I have log4j set up in my application which sends logging output to a specified file, but it also gets sent to catalina.out
How do I stop this?

also, is there a way to redirect the output of "kill -3 pid" command to a specific file? or will that always go to catalina.out?

thanks,
-Riz.

Shankar Unni wrote:
Rizwan Merchant wrote:

So how do I stop tomcat from logging to catalina.out and into a different file?

For the webapps themselves, their <Context> should have swallowOutput="true".

Better still, don't do System.out.println() from your webapps..


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to