PingFederate records actions performed through the administrative API in the <pf_install>/pingfederate/log/admin-api.log file.
While the events are not configurable, Log4j 2 configuration settings in the <pf_install>/pingfederate/server/default/conf/log4j2.xml file can be adjusted to deliver the desired level of detail surrounding each event.
Each log entry contains information relating to the event, including:
- Time the event occurred on the PingFederate server
- Administrator username performing the action
- Authentication method
- Client IP
- HTTP method
- REST endpoint
- HTTP status code
- jti (JWT ID)Tip: The jti is the ID of the outbound JSON Web Token (JWT) request. This information is applicable when the PingFederate administrative API authentication scheme is OAuth2 and the client authentication method is private_key_jwt.
- The hash of the inbound access tokenTip: The hash logging is applicable when the PingFederate administrative API authentication scheme is OAuth2. To calculate the hash value for a token or authorization code, run the
calculatehash.sh/batscript in the PingFederate bin folder.Important: This feature should only be enabled in production environments when actively troubleshooting authentication issues.
- HTTP request header
- TLS version
log4j2.xmlfile. For more information, see Log4j 2 logging service and configuration.
Each of these fields is separated by a vertical pipe (
|) for ease of