Cleaning up Archival Logs
Adeptia Connect maintains the archival of various log files. These archived logs can cause issues if they accumulate over a long period of time. Adeptia Connect has an archived log cleanup task that you can schedule to run at a specific time to clean up the archived files that are older than a specified number of days. By default, cleanup of archival logs happens after 15 days. It deletes all the logs and repository files that are older than 15 days.Â
To schedule the archived logs cleanup, set the time in the environment variable LOG_CLEANUP_CRON_EXPRESSION in the values.yaml file as per your requirement.
Additionally, you can set the retain time for the archived logs by following the steps given below.
- Login to Adeptia Connect.
Click Account > Settings.
Expand Microservice Settings, and then select ArchivalAndCleanup in the left panel.
Expand the property category, Log Archival.
Change the values for the properties given in the table below as per your requirements.Â
Property Name
Logs
abpm.archive.logRetainTime Defines the retain time for archive log. If the value is left blank then it takes 30 days as the default retain time. abpm.archive.dataRetainTime Defines the retain time for archive data. If the value is left blank then retain time specified for log will be taken as data retain time. It is recommended to define same retain time for different logs to maintain the consistency.- Click Update to save the changes.