4

How do I clear the logs in the Developer Console?

Can't find it in the logs documentation on Salesforce nor googling. I know it should be simple but can't find it.

9

enter image description here

The above diagram shows how to clear the logs in developer console

3

In the Developer Console, on the Logs tab, use "Debug | Clear | Log Panel" to do this. More details here

You can also do this under Setup. Go to "Monitor | Logs | Debug Logs", and there's a "delete all" button.

  • 2
    Note that those two are not the same. Hitting clear in the developer console does not delete the logs, but just hides all old ones. – Thomas Sep 15 '14 at 15:45
1

You can use DataLoader to export and mass delete debug logs if you have a lot - just use query SELECT Id FROM ApexLog

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.