Yes I have

handlers = 1catalina.org.apache.juli.FileHandler,
2localhost.org.apache.juli.FileHandler, \
           3manager.org.apache.juli.FileHandler,
4admin.org.apache.juli.FileHandler, \
           5host-manager.org.apache.juli.FileHandler,
6mmi.org.apache.juli.FileHandler, \
           java.util.logging.ConsoleHandler


Filip Hanik - Dev Lists wrote:
> 
> have you defined
> 
> 6mmi.org.apache.juli.FileHandler
> 
> I don't see that in your addition
> 
> Filip
> 
> juan.velez wrote:
>> 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
>> =
>> FINEST
>> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/mmi].handlers
>> = 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?
>>
>> Thanks,
>>
>> Juan
>>
>>
>>
>>
>>
>> Mark Thomas-18 wrote:
>>   
>>> 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: users-unsubscr...@tomcat.apache.org
>>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>>
>>>
>>>
>>>     
>>
>>   
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 

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


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

Reply via email to