What is the correct way of debugging connector rules

Hi @pkgupta1 ,

Try removing the default web service connector logging statements that you’ve updated earlier and please try using the below in your log4j2.properties :

logger.connector_WBS.name=sailpoint.connector.webservices
logger.connector_WBS.level=debug
logger.SDK_WBS.name=connector.sdk.webservices
logger.SDK_WBS.level=debug

use log.error(“your message”) in your rule to print the logs.

Ensure that you’re stopping your CCG before editing the log4j2.properties file. Once pasting the above 4 lines, save it and start your CCG. (Do not restart the CCG, only start it because the changes made earlier will be lost upon restart).

Let me know if this helps and prints out your log statements? Also, ensure that your web services operation is being triggered for the logs to be printed.

1 Like