How do I remove debug logs from developer console?

How do I remove debug logs from developer console?

  1. Open Developer Console.
  2. At the bottom of the console, select the Query Editor tab.
  3. Select Use Tooling API.
  4. Enter this SOQL query: SELECT Id, StartTime, LogUserId, LogLength, Location FROM ApexLog.
  5. Click Execute.
  6. Select the logs you want to delete.
  7. Click Delete Row.
  8. To confirm the log deletion, click Yes.

How do I fix my dev console?

Developer Console menus are unresponsive

  1. Fix 1:
  2. Login and open Developer Console by Chrome.
  3. Open Developer tools and select Network.
  4. Reload on Developer Console.
  5. Fix 2:
  6. Login to Workbench and go to REST Explorer.
  7. Use the following query in Workbench to get the IDEWorkspace.

How do I delete bulk debug logs?

Tooling API Mass Deletion Steps

  1. Open the Developer Console.
  2. Select the Query Editor tab near the bottom of the console page.
  3. Select the Use Tooling API check box.
  4. Execute the query ‘select id from apexlog’
  5. Query Results will list available rows to be deleted.

Can I delete a debug log?

You cannot delete the debug logs natively in Apex code. But you can use Rest DELETE endpoint to delete debug logs. I have created a utility code to delete debug logs that way, you can refer it. It can delete only 100 in 1 iteration(You can use composite API to bulkify it).

How do I clear the developer console in Salesforce?

Go to “Monitor | Logs | Debug Logs”, and there’s a “delete all” button.

How do you delete a workbench log?

Using Workbench: Navigate to queries -> SOQL Query: Select Bulk CSV and Input “Select id from ApexLog” to query Box then click Query. Then download the CSV file by clicking on “download completed batch results” icon under Batches. Once you have the csv file: Navigate to data->delete.

Should I delete debug?

Can I delete the debug file from my desktop? Windows 10 users can safely delete the debug files from the desktop. The debug files are harmless and nothing bad will happen to your system if you remove them.

What is the debug log file?

The Debug. log file can record database operations, system processes, and errors that occur when executing a transaction or running unit tests.