If you have had to take over a system with little to KT and you have been running debug logs then you can attest to the pain points of deleting the logs by clicking Delete All..
There is a way out using Tooling API.
Delete logs are found from workBench using the following query
SELECT Id, StartTime, LogUserId, LogLength, Location FROM ApexLog
There is a way out using Tooling API.
Delete logs are found from workBench using the following query
SELECT Id, StartTime, LogUserId, LogLength, Location FROM ApexLog
- Open Developer Console.
- At the bottom of the console, select the Query Editor tab.
- Select Use Tooling API.
- Enter this SOQL query:
- Click Execute.
- Select the logs you want to delete. To sort by a column, click its header. To select individual logs, press Ctrl (Windows or Linux) or Command (macOS). To select a block of logs, press Shift.