Contents
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?
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.
How are debug logs used in Microsoft support?
Debug logs. These are the most common logs and are required for all Microsoft support cases. Debug logs are produced by the Windows and Mac desktop clients, as well as browser based clients. The logs are text based and are read from the bottom up.
Where can I find a Debug log file?
To view a debug log, from Setup, enter Debug Logs in the Quick Find box, then select Debug Logs. Then click View next to the debug log that you want to examine. Click Download to download the log as an XML file. Debug logs have the following limits.
Where do I find Debug log in apex?
If logging is enabled when classes or triggers execute, logs are generated at the time of execution. To view a debug log, from Setup, enter Debug Logs in the Quick Find box, then select Debug Logs. Then click View next to the debug log that you want to examine.