views:

999

answers:

1

How can I configure Tomcat 6.0 (running under Centos 5.3) to log what comes out of my web app's console (System.out/err)? Is it possible to specify a path and file size limit as well?

Thanks for your help!

+1  A: 

Those messages get sent to catalina.out by default, though you can modify this behavior:

http://wiki.apache.org/tomcat/FAQ/Logging#Q6

Jim Hunziker
Thank you Jim! I can't believe I didn't notice it before.
David
No problem. I didn't notice it in the FAQ, either. I already knew the answer to your question and searched the web for the answer so I could give you a link!
Jim Hunziker