I followed the directions in that link
(http://tomcat.apache.org/tomcat-6.0-doc/logging.html) and my logging
messages still do not show up. I mean, I see the INFO messages generated by
my web-app but if I change the level to FINE (or FINEST) I do not see it. I
am using Tomcat 6.0.18 and Java Util Logging

I have modified the %CATALINA_HOME%\conf\logging.properties (Using Jconsole
I can see that this is the file being used as the logging properties) to add
a new file handler 6mmi.org.apache.juli.FileHandler, changed the level for
the console handler to FINEST

java.util.logging.ConsoleHandler.level = FINEST

And added

org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/mmi].level =
= 6mmi.org.apache.juli.FileHandler

I do see the mmi.yyyy-mm-dd.log file created but the only contents are INFO
messages generated by catalina. And messages below INFO are not seen on
either the console or any of the log files.

Any idea what I am doing wrong?



Mark Thomas-18 wrote:
Peter Hawkins wrote:
Basically, I would like to enable logging for my JSP app. How do I do
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



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

View this message in context: http://www.nabble.com/Tomcat-6--getting-logging-to-work-tp15491669p21340734.html
Sent from the Tomcat - User mailing list archive at Nabble.com.

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

Search Discussions

Discussion Posts


Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 9 | next ›
Discussion Overview
groupusers @
postedFeb 14, '08 at 11:16p
activeJan 7, '09 at 11:39p



site design / logo © 2018 Grokbase