David
David

Reputation: 551

How to make Tomcat 6.0 log the console?

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!

Upvotes: 2

Views: 14149

Answers (1)

Jim Hunziker
Jim Hunziker

Reputation: 15420

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

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

Upvotes: 1

Related Questions