Loading
Set Up and Maintain Your Salesforce Organization
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          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, enter Sites in the Quick Find box in Setup, then 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, enter Debug Logs in the Quick Find box, then click 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