Various data may need to be logged in Apinizer. This data may not be meaningful after a certain period and may cause database growth. It will be beneficial to clean the collections given below at regular intervals.If this operation is desired to be done automatically, the setting for logs to be deleted can be made from this screen. For active records, a task that runs at the beginning of each hour if hour is selected, or at 00:00 each night if day is selected, deletes relevant records before the specified date.

Configuration Fields
The fields used for Application Log Cleanup Task configuration are shown in the table below:| Field | Description |
|---|---|
| Manager Logs | Sets how old Manager application software logs that occur during operation will be deleted. |
| Gateway Logs | Sets how old Gateway application software logs that occur during operation will be deleted. |
| Cache Logs | Sets how old Cache application software logs that occur during operation will be deleted. |
| Audit Records | Sets how old logs recording changes made by users on the system will be deleted. |
| ACL Audit Records | Sets how old credential records of users given or revoked access to API Proxy or API Proxy Group will be deleted. |
| Alert Logs | Sets how old log records belonging to Alarms created on Apinizer will be deleted. |
| Token Requests | Sets how old records of requests made to get tokens will be deleted. |
| Anomaly Detector Logs | Sets how old log records belonging to anomaly detection operations created on Apinizer will be deleted. |
| Uptime Monitor Logs | Sets how old log records belonging to uptime monitoring operations created on Apinizer will be deleted. |
| Task Flow Logs | Sets how old log records belonging to Task Flow operations created on Apinizer will be deleted. |
| Report Logs | Sets how old log records belonging to report operations created on Apinizer will be deleted. |
| API Proxy Trace Logs | Sets when log records kept when Trace feature is active in API traffic will be deleted. |
| API Manager User Token Blacklist | Sets when log records kept when logging out from API Manager will be deleted. |
| User Notifications | User Notifications are kept in the notification_user collection. |
| Environment(Namespace) Metrics | Environment(Namespace) Metrics are kept in the environment_metric collection. |
Regular operation of log cleanup tasks increases system performance and keeps database size under control.

