Using debug logs
As an admin, when a user reports an issue, you try to recreate it and resolve it. At times, you are unable to figure out why the issue has occurred, so you need to take a look under the hood. Salesforce offers a feature to view debug logs. The debug log contains information about each transaction, such as whether it was successful and how long it took. Depending on the filters set by your trace flags, the log can contain varying levels of detail about the transaction.
Business use case
Sam, the sales rep, has reported an issue when creating an account. When you, as the administrator, try to recreate the issue, you are unsuccessful. You will set up a debug log to get a deeper understanding of what is happening.
Creating a debug log
Let’s create a debug log for Sam. We will start on the Setup page as shown in Figure 20.2:
Figure 20.2: Navigating to debug logs
On this page, we will take the following steps:
- Click on Setup...