Peter Hawkins wrote:
Basically, I would like to enable logging for my JSP app. How do I do it?
Take a look at http://tomcat.apache.org/tomcat-6.0-doc/logging.html
You want the java.util.logging section. Replace the examples web app with
your own and then just use java.util.logging as per normal.
Is it the same procedure for tomcat 5.5 and 6.0?
No.
Do I need to rebuild tomcat with log4j to get ANY logging?
No. Only if you want to use log4j for all Tomcat logging.
Where is the catalina.out file? I can't find it anyplace, but I see it
being discussed.
It is now catalina.yyyy-mm-dd and is in the logs directory.
How do I direct the stdout logging to a file with Tomcat 6.
Set the swallowOutput for the context. See
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
HTH,
Mark
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]