How to turn on debug logging to troubleshoot AFX connectors in versions 7.0.1 through 7.5.0 of RSA Identity Governance & Lifecycle
Originally Published: 2015-05-12
Article Number
Applies To
RSA Version/Condition: 7.0.1, 7.0.2, 7.1.x, 7.2.x, 7.5.0
Issue
There is quite a bit of logging output into the following AFX logs but it generally does not provide the level of detail required to troubleshoot a specific AFX connector. These logs are:
- $AFX_HOME/esb/logs/mule_ee.log
- $AFX_HOME/esb/logs/esb.AFX-MAIN.log
$AFX_HOME/esb/logs/esb.AFX-CONN-<connector_name>.log
The information logged to these connector-specific log files can be very useful when troubleshooting specific AFX connector issues. The amount of logging that is written to these connector-specific logs is controlled by two flags: INFO and DEBUG. By default the INFO flag is enabled. To log additional data to a connector-specific log file, the DEBUG flag can be enabled.
NOTE: The connector_name is the name of the connector which correlates to a name column in an internal database table. This name may or may not be the same as the display name seen in the RSA Identity Governance & Lifecycle user interface under AFX > Connectors.
Resolution
To enable connector-specific debug logging, perform the following steps as the afx user. In this example, the display name of the connector name is Active Directory Connector and the name of the connector log file is $AFX_HOME/esb/logs/esb.AFX-CONN-Active_DirectoryConnector.log.
- Edit the $AFX_HOME/esb/apps/AFX-CONN-<connector_name>/classes/log4j.xml file to change the log level from INFO to DEBUG. In this example the filename is: $AFX_HOME/esb/apps/AFX-CONN-Active_DirectoryConnector/classes/log4j.xml.
cd $AFX_HOME/esb/apps/AFX-CONN-Active_DirectoryConnector/classes vi log4j.xml
- Edit the .xml using the following syntax:
<logger name="org.mule.api.processor.LoggerMessageProcessor"> <!-- <level value="INFO"/> --> <level value="DEBUG"/> </logger>
- For the changes to take effect immediately, touch the file $AFX_HOME/esb/apps/AFX-CONN-<connector_name>/mule-config.xml file. In this example the file location is: $AFX_HOME/esb/apps/AFX-CONN-Active_DirectoryConnector/mule-config.xml.
cd $AFX_HOME/esb/apps/AFX-CONN-Active_DirectoryConnector touch mule-config.xml
WARNING: Do NOT restart the AFX server or edit the AFX connector in the RSA Identity Governance & Lifecycle user interface, as these actions will override the debug settings just made.
- The next time you use the connector (or test the connector capabilities), you will see the debug output in the $AFX_home/esb/logs/esb.AFX-CONN-<connector_name>.log. For example, $AFX_HOME/esb/logs/esb.AFX-CONN-Active_DirectoryConnector.log.
To enable debug logging pre-7.0.1, please see RSA Knowledge Base Article 000033429 -- How to turn on debug logging to troubleshoot AFX connectors in versions 7.0.0, 6.9.1 and 6.8.1 of RSA Identity Governance & Lifecycle.
To enable debug logging in 7.5.2, please see RSA Knowledge Base Article 000068052 - How to turn on debug logging to troubleshoot AFX connectors in version 7.5.2 of RSA Governance & Lifecycle
Notes
019-10-21 15:13:28.327 [DEBUG] org.mule.api.processor.LoggerMessageProcessor:121 - XML Payload from JMS: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Envelope xmlns="http://aveksa.com/afx/messages/primary"> <Header> <version>1.0</version> <appid>ACM</appid> <crid>13</crid> <type>response</type> <callback>NA</callback> <afxid>66132122-4890-4fa0-93f7-d9f11b7c1898</afxid> <async-callback>false</async-callback> <async-callback-url>http://localhost:8089/callback/66132122-4890-4fa0-93f7-d9f11b7c1898</async-callback-url> <testmessage>false</testmessage> </Header> <Body> <Request timestamp="2019-10-21T15:13:20.674-04:00" id="1"> <epid>Active_DirectoryConnector</epid> <verb name="AddAccountToGroup"> <parameters> <parameter name="Account">CN=Book\, Rita,OU=SE,OU=vcloud Users,DC=2k8r2-vcloud,DC=local</parameter> <parameter name="Group">CN=G1,OU=vcloud Users,DC=2k8r2-vcloud,DC=local</parameter> </parameters> </verb> <Response timestamp="2019-10-21T15:13:28.299-04:00"> <status> <code>0</code> <brief>Success</brief> <detailed></detailed> </status> </Response> </Request> </Body> </Envelope>
Related Articles
How to turn on debug logging to troubleshoot AFX connectors in versions 7.0.0, 6.9.1 and 6.8.1 of RSA Identity Governance … 8.75KNumber of Views After starting AFX, some AFX Connectors failed to be deployed successfully due to Out of Memory errors in RSA Governance &… 61Number of Views Remote AFX Server fails to start with an SSLHandshakeException error in RSA Identity Governance & Lifecycle 251Number of Views How to ensure Thor Xellerate RACF login macro can properly handle cases where passwords are blank 6Number of Views Patching to version 7.5.2 P04 and above shows initialization error ORA-31011: XML parsing failed in RSA Governance and Lif… 120Number of Views
Trending Articles
Passwordless Authentication in Windows MFA Agent for Active Directory – Quick Setup Guide RSA Authentication Manager Upgrade Process RSA Authentication Manager 8.9 Release Notes (January 2026) An example of SSO using SAML and ADFS with RSA Identity Management and Governance 6.9.x RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide
Don't see what you're looking for?