Newer Version Available

This content describes an older version of this product. View Latest

Viewing Debug Logs

Available in: Enterprise, Performance, Unlimited, Developer, and Database.com Editions

User Permissions Needed
To use the Developer Console: “View All Data”
To execute anonymous Apex: “Author Apex
To use code search and run SOQL or SOSL on the query tab: “API Enabled”
To save changes to Apex classes and triggers: “Author Apex
To save changes to Visualforce pages and components:     “Customize Application”
To save changes to Lightning resources: “Customize Application”

To view the details of a debug log, from Setup, click Monitoring | Debug Logs or Logs | Debug Logs, and then click View next to the debug log you want to examine. Click Download to download the log as an XML file.

The debug log contains information about the transaction, such as if it was successful, the size of the log (in bytes), how long the transaction took in milliseconds, and so on. The log itself contains additional information about the transaction, depending on the filters set for the user.