Do it with SOQL

Deleting User Trace Logs

If you go to User Debug Log, you may see many user trace logs created by a user. Deleting one at a time is time-consuming. An easy solution is to execute below SOQL in Developer console and deleting them ( you can select multiple rows and can delete in one shot )

Mass Delete Attachments

Though Data loader is one option to do it, you can also use Developer console Query editor to mass delete attachments ( execute the query with appropriate constraints and select the rows you want to delete and hit delete button )

 

Bulk Delete ApexLogs

Its very painful to use Salesforce provided ‘Delete All’ logs button as it on;t deletes log files displayed in that page. Quick way of deleting log files using SOQL is executing below SOQL in developer console and use ‘Delete’ button

 

Leave a Reply

Your email address will not be published. Required fields are marked *