Logging REMOTE_PORT

Cantor, Scott cantor.2 at osu.edu
Fri Oct 27 16:35:43 UTC 2023


> Is it possible to log, in either process or audit log, the REMOTE_PORT (client
> port) process variable? 

You can add custom field extractors to the audit log in a variety of different phases. A simple Spring expression can pull out that information.

> I know the idP source code only supports 4 MDC variables, but I was
> wondering if there's a way to access a custom process variable without
> having to change the IdP source code. 

Extending the MDC isn't formally supported.

-- Scott




More information about the users mailing list