> From: jason johnson [mailto:jasonjohnson1...@yahoo.com] 
> Subject: System.out anf tomcat 6

> I am using tomcat 6.0.16 and windows xp.

Time to upgrade - that's over three years old (and we won't say anything about 
your OS...).

> Now that I am using tomcat 6, I can't find the stdout.log 
> file anywhere.

That would be because there isn't one (I don't recall one in 5.0.x on Windows, 
either) - unless you run Tomcat as a Windows service.

> I have seen a lot of information about writing my own logger 
> using log4j and juli but for what I use System.out for, I 
> would prefer to leave it as it and have it just write to log
> file for me.

It's not necessary to write your own logger; just set the attribute 
swallowOutput to "true" in the <Context> element for your webapp.

http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Standard_Implementation

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to