Delete Error Logs
    • Dark
      Light

    Delete Error Logs

    • Dark
      Light

    Article summary

    Logs occupy a large space on Salesforce org. You can create a schedule and delete the logs automatically to keeps logs at an optimal space. This section deals with scheduling for Log deletion.

    1. Log in to Salesforce org.

    2. Search for AD Desktops in the App launcher.

    3. Select the AD Desktops tab.

    4. Click New to add a record.

    5. Enter a name in the AD Desktop Name field.

    6. Enter the AD Desktop URL.

    7. Leave the Show in Utilitybar checkbox unselected.

    8. Select the isRun checkbox.

    9. Click Save.

    10. Navigate to Setup.

    11. In the Quick Find box, search Apex Classes.

    12. Select Apex Classes.

    13. Click the Schedule Apex button.

    14. Enter a name in the Job Name field.

    15. Select the LogDeleteBatchScheduler option.

    16. Select the Frequency and Recurrence.

    17. Select a Start Date, End Date, and a Preferred Start Time.

    18. Click Save.

    The application deletes the logs at the scheduled date and time.


    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.
    ESC

    Eddy AI, facilitating knowledge discovery through conversational intelligence