help with X-Forwarded-For with IDPv3.3.1 and jetty 9.3.16
Cantor, Scott
cantor.2 at osu.edu
Tue Mar 21 19:20:49 EDT 2017
On 3/21/17, 5:48 PM, "users on behalf of Matt Jamison" <users-bounces at shibboleth.net on behalf of matt at tblinux.com> wrote:
> I read up on MDC here: https://logback.qos.ch/manual/mdc.html and added this piece to my shibboleth-idp/webapp/WEB-INF/web.xml:
You don't need that.
> Edited shibboleth-idp/logback.xml and changed the line to be:
That isn't the name of the MDC variable is that carries the address. Please refer to the idP logging documentation for the MDC values.
> But I'm still not getting anything in the idp-audit.log for the IP address.
The audit log has a totally different design and you should log additional fields there by adjusting the audit format itself, not changing the logback file. That documentation is also explicit about the field labels for the data you want.
-- Scott
More information about the users
mailing list