Activity › Forums › Salesforce® Discussions › How to get the debug log of Connection user in salesforce to salesforce Integration?
Tagged: Change Log Levels, Connection User, Debug, Debug Logs, Salesforce APIs, Salesforce Development, Salesforce Integration, User
-
How to get the debug log of Connection user in salesforce to salesforce Integration?
Posted by Saurabh on May 9, 2017 at 3:52 PMHow to get the debug log of Connection user in salesforce to salesforce Integration?
Avnish Yadav replied 7 years, 7 months ago 3 Members · 2 Replies -
2 Replies
-
Hi Saurabh,
When configuring Debug Logs, you cannot choose a Salesforce to Salesforce Connection User from the User Lookup, but there is a workaround to achieve this.
To begin capturing Debug Logs for a Connection User open the following URL in your browser:
XXX.salesforce.com/p/setup/layout/AddApexDebugLogUser?retURL=%2Fsetup%2Fui%2FlistApexTraces.apexp&UserLookupInput_lkid=YYYYYYYYYYYYYY
&UserLookupInput=Connection%20UserReplace XXX with your salesforce instance, UserLookupInput_lkid is the ID of the Connection User and UserLookupInput is the User name. You can find
the user ID of the connection user, by inspecting the CreatedById for a record created by this user. (eg. via eclipse or Force.com explorer)Thanks.
- [adinserter block='9']
-
Hello,
First, identify your ‘Connection User’ ID. As referenced by the initial answer, you can find the user ID of the ‘Connection User’, by inspecting the CreatedById for a record created by this user. (eg. via eclipse or Force.com explorer). I exported records loaded by the S2S connection from the target org and pulled the ID referenced in the ‘CREATEDBYID’ myself.
Second, in your Developer Console, navigate to:
Debug > Change Log Levels
Under ‘User Tracing for All Users’ select ‘Add’. Then paste in the User Id for the ‘Connection User’ you’ve already identified. Click ‘Add’ and ‘Done’ and you should be off to the races.
Thanks.
Log In to reply.