You can set the 'debug' attribute on the <Context ...> tag, but that will
produce debug info for other sub-components of <Context ...> as well.
Alternatively, you can configure the Authenticator explicitly (dangerous,
since Tomcat assumes that you know what you are doing in this case :):
   <Context .....>
       .....
       <Valve
className="org.apache.catalina.authenticator.FormAuthenticator"
                debug="1" />
   </Context>

In any case, the output goes to the Context log if one is configured,
otherwise to the Host log if one is configured, and I could go on, but at
this point it will probably end up in 'catalina.out'.

"Daniel Germain" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I would like to see messages like
>
>             if (debug >= 1)
>                 log("xxx")
>
> from this file org.apache.catalina.authenticator.FormAuthenticator.
>
> How do I set the debug level, and in which file will the output goes?
>
> I want to investigate on the following message:
> Invalid direct reference to form login page
> because I'm accessing a protected page that is not the form login page.
> It may be related with the complex super servlet from Enhydra.
> I had been able to make it works with jsp.
>
> Thanks.
> Daniel
>
> _________________________________________________________________
> Tired of spam? Get advanced junk mail protection with MSN 8.
>
http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to