On 08/12/2016 00:31, Taylor, Larry wrote:
> 
> Hello,
> 
> Is there a class or way in Tomcat to write org.apache.catalina.authenticator 
> messages to a different logfile?
> 
> I'm using Tomcat 8.0.9 - I have logging turned on for the realm 
> authentication but i cannot get authentication messages to write to a 
> different log prefix file other than catalalina.out.
> 
> Is there a way to do this and keep the normal server messages writing to 
> catalina.out?
>      In conf/logging.properties - this writes fine to catalina.out
>      ############################################################
>         # Handler specific properties.
>       # Describes specific configuration info for Handlers .
>       ############################################################
>        org.apache.catalina.realm.level = FINE
>        org.apache.catalina.realm.useParentHandlers = true
>        org.apache.catalina.authenticator.level = FINE
>        org.apache.catalina.authenticator.useParentHandlers = true
> 
> 
> I did not see any org.apache.catalina.authenticator.juli.AsyncFileHandler 
> classes to do this -
>  I need somthing like: 
>          org.apache.catalina.authenticator.juli.AsyncFileHandler.prefix = 
> authuser.
> 
> 
> thanks for any information on how to configure this.

The following patch applied to a default Tomcat logging configuration
should do what you want:

http://home.apache.org/~markt/dev/auth-logging.path

Mark


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

Reply via email to