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.
To find the name of a guest user, enter Sites in the Quick Find box
in Setup, then select Sites.
Select your site from the Site Label column.
Select Public Access Settings | View Users.
Now that you have the name of your guest user, you can set the trace
flag.
From Setup, enter Debug Logs in the Quick Find box, then click
Debug Logs.
Click New.
Set the traced entity type to User.
Open the lookup for the Traced Entity Name field, and then find and select your guest
user.
Assign a debug level to your trace flag.
Click Save.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.