---
url: >-
  /flow/operation-guide/maintaining-flow/monthly-maintenance-tasks/cleaning-up-logs.md
---

# Cleaning up Logs

A Log is created each time an Action is executed. Over time the volume of Logs can grow quite large and this will slow down system performance when reviewing Logs as part of daily maintenance.

Assuming you have a robust backup scheme in place you should be able to clean out old Logs. If after cleaning them out you find you do need to access these Logs you can restore a backup of the configuration database.

You can clean up old Logs through the Flow Designer application, or alternatively your system administrator can run a script on the Flow configuration database. It is possible to schedule the script to run automatically. If your system administrator is using the inbuilt database backup functions of Flow then they can also enable automatic cleaning of Logs as part of this process. Refer to the Administration Guide for information on setting up Flows inbuilt backup function.

### Deleting Logs manually

1. Open the [Flow Designer](/flow/guide/getting-started/starting-flow)

2. Navigate to `Logs`

   ![](/flow/images/operation-guide/manage-logs.jpg)

3. Specify appropriate filter criteria to display only the logs that you want to delete. This generally involves setting the following filter

   1. Set `For Action` drop down to `<All Actions>`
   2. Set `For Partner` drop down to `<All Partners>`
   3. Set `Logs From` to a very early date and `To` to a date about 1 month ago
   4. Ensure that `SQL Search` field is blank
   5. Enable the `Include Successful Logs`, `Include Cancelled Logs`, and `Include Failed Logs` check boxes

4. Press `Control-A` together on the keyboard to select all displayed logs

5. Click the `Delete Logs` button

   ![](/flow/images/operation-guide/delete-log-confirmation.jpg)

6. Click `Yes` to confirm the action
