You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Oliver Kohll - Mailing Lists <ol...@gtwm.co.uk> on 2012/04/16 15:40:58 UTC
LockOutRealm IP logging
Hello,
Is it possible to get LockOutRealm to include the client's IP address in log messages, rather than just the username? Messages such as
16-Apr-2012 13:43:23 org.apache.catalina.realm.LockOutRealm authenticate
WARNING: An attempt was made to authenticate the locked user "administrator"
Regards
Oliver Kohll
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: LockOutRealm IP logging
Posted by Oliver Kohll - Mailing Lists <ol...@gtwm.co.uk>.
On 16 Apr 2012, at 14:53, Daniel Mikusa wrote:
>> Hello,
>>
>> Is it possible to get LockOutRealm to include the client's IP address
>
> Not as convenient, but if you have an access log enabled you should be able to find the IP address in there.
>
> Dan
Thanks, I've now set up FastCommonAccessLogValve in server.xml
Oliver
Re: LockOutRealm IP logging
Posted by Daniel Mikusa <dm...@vmware.com>.
----- Original Message -----
> Hello,
>
> Is it possible to get LockOutRealm to include the client's IP address
Not as convenient, but if you have an access log enabled you should be able to find the IP address in there.
Dan
> in log messages, rather than just the username? Messages such as
>
> 16-Apr-2012 13:43:23 org.apache.catalina.realm.LockOutRealm
> authenticate
> WARNING: An attempt was made to authenticate the locked user
> "administrator"
>
> Regards
> Oliver Kohll
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org