Client IP in Shibboleth logs instead of Tomcat Access Logs

Melvin Lasky melvin.lasky at manhattan.edu
Mon Apr 1 19:25:09 EDT 2019


Hey guys,
	I’m super close.

shib-idp;idp-process.log;dev;nothing; - []2019-04-01 23:22:09,347 - INFO [net.shibboleth.idp.authn.impl.ValidateUsernamePasswordAgainstLDAP:152] - Profile Action ValidateUsernamePasswordAgainstLDAP: Login by 'melvin.lasky' succeeded
shib-idp;idp-process.log;dev;nothing; - [x.x.x.x]2019-04-01 23:22:10,336 - INFO [net.shibboleth.idp.cas.flow.impl.GrantServiceTicketAction:138] - Granted service ticket for https://banner-app08.manhattan.edu/CommunicationManagement/j_spring_cas_security_check

Where x.x.x.x is my actual IP address.

I wish it was in the line above where it says login by ‘melvin.lasky’ succeeded.

Any suggestions? If not, I guess we can live :-)

Mel

Melvin Lasky
Associate Director of Enterprise Architecture





Riverdale, NY 10471
Phone: 718-862-7410
melvin.lasky at manhattan.edu <mailto:melvin.lasky at manhattan.edu>
www.manhattan.edu <http://www.manhattan.edu/>




> On Apr 1, 2019, at 6:45 PM, Melvin Lasky <melvin.lasky at manhattan.edu> wrote:
> 
> Hey everyone,
> 	I’m super close to having my Shibboleth system completely running and ready for PRODUCTION.
> 
> I have one question, and it would make our lives here at Manhattan so much easier :-). 
> 
> I’ve added this to my tomcat logs
> 
>         <Valve className="org.apache.catalina.valves.AccessLogValve"
>         directory="logs"
>         prefix="access_log" 
>         suffix=".txt"
>         pattern="combined"
>         requestAttributesEnabled="true" />
> 
> 
> Now, I’m getting the real IP address in my tomcat access logs! :-).
> 
> How can I put that IP address in my SHIBBOLETH Audit Logs. I tried a few different things, but none seemed to work.
> 
> Have a great night! 
> 
> Thanks for all your help!!
> 
> [Side Note: I did update the Google Apps for Education wiki.  Also may make a Kubernetes wiki as well]
> 
> Melvin Lasky
> Associate Director of Enterprise Architecture
> 
> <email_logo.jpg>
> 
> 
> 
> Riverdale, NY 10471
> Phone: 718-862-7410
> melvin.lasky at manhattan.edu <mailto:melvin.lasky at manhattan.edu>
> www.manhattan.edu <http://www.manhattan.edu/>
> 
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20190401/97084fe1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: email_logo.jpg
Type: image/jpeg
Size: 7478 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/users/attachments/20190401/97084fe1/attachment.jpg>


More information about the users mailing list