Hello Mark,

Thank you very much!

org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = ALL
does the trick for me:

..../...
FINE [http-nio-8080-exec-5]
org.apache.catalina.authenticator.SingleSignOn.invoke SSO processing
request for [/manager/html]
.../...

Cheers,

Luis


El jue, 14 ene 2021 a las 17:04, Mark Thomas (<ma...@apache.org>) escribió:

> 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
>
>

-- 

"Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better."

- Samuel Beckett

Reply via email to