Loading
Prepare for Email to Become the Default Login ExperienceRead More
Secure Your Salesforce Org
Collect Debug Logs for Guest Users

Collect Debug Logs for Guest Users

Your public users generate a large volume of events, which can quickly fill up your debug logs. When collecting debug logs for guest users, keep in mind that all your public site visitors share one guest user license. One Salesforce user represents all your site's public users.

Required Editions

User Permissions Needed
To view, retain, and delete debug logs: View All Data

To collect a debug log for a guest user, you set a user-based trace flag on the guest user.

  1. To find the name of a guest user, from Setup, use the Quick Find box to find and select Sites.
  2. Select your site from the Site Label column.
  3. Select Public Access Settings | View Users.
    Now that you have the name of your guest user, you can set the trace flag.
  4. From Setup, use the Quick Find box to find and select Debug Logs.
  5. Click New.
  6. Set the traced entity type to User.
  7. Open the lookup for the Traced Entity Name field, and then find and select your guest user.
  8. Assign a debug level to your trace flag.
  9. Click Save.
 
Loading
Salesforce Help | Article