can't delete debug.log code example Example: delete debug logs salesforce SELECT Id, StartTime, LogUserId, LogLength, Location FROM ApexLog