2012/5/17  <oh...@cox.net>:
>> >
>> > See
>> > http://tomcat.apache.org/tomcat-6.0-doc/logging.html#Servlets_logging_API
>> >
>>
>> Here's a partial stripped down version of my server.xml, to show the 
>> JNDIRealm part in context.  I guess that it's in the <Engine>?
>>
>> So, how do I enable the output from the JNDIRealm?
>>
>> I checked the link you included, but it reflected what you said, but I'm 
>> unclear about exactly what I need to do (e.g., add to logging.properties) to 
>> get the debug output?
>>
>> Thanks,
>> Jim
>>
>> P.S.  Per other responses, if you could help explain, it might clarify 
>> things for others on the mailing list, who also appear to not know how to do 
>> this?
\>
> P.P.S.  In case it helps, here is my current logging.properties:
>

>
> # For example, to log debug messages in ContextConfig and HostConfig
> # classes and to log only warnings and errors in other
> # org.apache.catalina.** classes, uncomment these lines:
> #org.apache.catalina.startup.ContextConfig.level = FINE
> #org.apache.catalina.startup.HostConfig.level = FINE
> #org.apache.catalina.level = WARNING

I have not see your server.xml, but let's suppose that your Realm is
in the Engine.
The logging category for engine will be
"org.apache.catalina.core.ContainerBase.[Catalina]"

To enable debug logging for it you have to
1. add the following line to logging.properties file and
2. restart Tomcat:

org.apache.catalina.core.ContainerBase.[Catalina].level = FINE

Best regards,
Konstantin Kolinko

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

Reply via email to