How do I debug a Salesforce site?
Go to Setup|Logs|Debug Logs and in the user trace flags click on New. Here Traced Entity Type should be user, in Traced Entity Name select the site guest user for the site that you want to test. Set the start date of today and end date of tomorrow same time, and the Debug Level to standard SFDC_DevConsole.
How does logging help with debugging?
An error which is logged under INFO will be lost between all normal log entries. Using the entire range of logging levels (ERROR, DEBUG, etc.) can reduce search time significantly. If you want to read more about log levels, you can continue reading here.
What is enable logging for meeting Diagnostics?
The option to log diagnostic data for Teams meetings is disabled by default. Once you enable the feature, Teams will save the diag files under C:\Users\UserName\AppData\Roaming\Microsoft\Teams. The app generates and collects three types of diag data: Debug logs available under %userprofile%\Downloads.
How can I get a Debug log for the sites guest user?
Normally, you can put debug monitoring on a user by name to see the details on the error they’re getting (especially for the non-descript Error Loading a Visualforce Page). But when you are trying to debug a site page, how do you get a debug log for the guest user?
Do you need a cookie to get a Debug log?
Setting cookies is complicated, and the change made collecting debug logs for public users’ asynchronous activity impossible. We’ve seen the error of our ways. Your public users no longer need a debug_logs browser cookie to trigger logging. This change applies to both Lightning Experience and Salesforce Classic.
Is there a log size limit for guest users?
We had the best of intentions: All your public site visitors share one guest user license. Thus, when you enable logging for the guest user, the visitors’ collective activities can fill your debug logs quickly, hitting the log-size limit and causing log truncation. Sadly, people didn’t like the Winter ’17 change.