Enabling debug logging
To help with troubleshooting or monitoring, you can turn on activity logging for the adapter.
About this task
These steps are optional. You can find general information about logging in Enabling debug messages and console logging in the PingFederate documentation.
Steps
-
Open the
<pf_install>/pingfederate/server/default/conf/log4j2.xmlfile for editing. -
To log activity for PingFederate and all adapters:
-
Find the following section:
<AsyncRoot level="INFO" includeLocation="false"> <!-- <AppenderRef ref="CONSOLE" /> --> <AppenderRef ref="FILE" /> </AsyncRoot> -
Change
INFOtoDEBUG:<AsyncRoot level="DEBUG" includeLocation="false"> <!-- <AppenderRef ref="CONSOLE" /> --> <AppenderRef ref="FILE" /> </AsyncRoot> -
If you want to see the adapter activity in the console, remove the comment tags:
<AsyncRoot level="INFO" includeLocation="false"> <AppenderRef ref="CONSOLE" /> <AppenderRef ref="FILE" /> </AsyncRoot>
-
-
To log activity for only the Microsoft IdP Adapter, add the following line:
<Logger name="com.pingidentity.adapter.idp.microsoft" level="DEBUG"/> -
Save the file.