On 14/01/2021 15:52, Luis Rodríguez Fernández wrote:
> Hello there,
> 
> I am trying to enable debug for
> the org.apache.catalina.authenticator.SingleSignOn valve. In my
> ${CATALINA_BASE}/conf/logging.properties I have set
> 
> java.util.logging.ConsoleHandler.level = ALL
> .../...
> org.apache.catalina.authenticator.SingleSignOn.level = ALL
> 
> In my ${CATALINA_BASE}/conf/server.xml I've uncommented
> 
> <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
> 
> After a successful authentication in one of my webapps I can see that the
> JSESSIONIDSSO cookie has been created, so I would expect to see some of the
> containerLog.debug(...) statements of theSingleSignOn.invoke() method.
> 
> Also If I try with org.apache.catalina.authenticator..level = ALL I can see
> in my catalina.out
> 
> 14-Jan-2021 16:48:23.326 FINE [main]
> org.apache.catalina.authenticator.AuthenticatorBase.startInternal Found
> SingleSignOn Valve at
> SingleSignOn[StandardEngine[Catalina].StandardHost[localhost]]
> 
> So I see that my SSO valve has been enabled.
> 
> Am I missing something?

Because it is the container log, that is the logger you need to
configure ...level=debug for, not the authenticator package.

Mark

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

Reply via email to