I am trying to update the debug log trace flag for my user but getting the following error
Having an active trace flag triggers debug logging. You have 259 MB of the maximum 250 MB of debug logs. Before you can edit trace flags, delete some debug logs.
I have removed all existing debug logs but it is still throwing the error.
I have faced this issue, which I fixed it by deleting all debugs logs from developer console.
- In dev console, Select tab “Query Editor” at the bottom of the console
- Select check box “Use Tooling API”
Use this query:
SELECT Id FROM ApexLog
- Delete all rows (Use shift key to select all rows)
Once all rows are deleted you will be able to save new debug logs.
Update : Salesforce has released a video tutorial for same. https://youtu.be/rwORE5T39C4