Quickly delete Debug Logs

Have you ever encountered an issue with the debug log limit? You've probably seen the message at least once: '...Before you can edit trace flags, delete some debug logs.'

Have you ever encountered an issue with the debug log limit? You've probably seen the message at least once: '...Before you can edit trace flags, delete some debug logs.'

You can easily delete all logs with a small plugin: osiecki-sfdx- plugins (link to the repository in the comment)

All you need to do is install the plugin using the command:

bash
sfdx plugins:install osiecki-sfdx-plugins

Now, you can use the command

bash
sfdx oa:apex:log:delete -a

And it’s done! More information about the parameters could be found in repository in Readme file.

Text and code were extracted from the original slide. Plain-text version of the whole catalog