Cleaning up Log and Repository

You can retain the logs and repository file for a time period specified by you, or schedule a logs and repository clean up time in Adeptia Connect. By default, log and repository cleanup is enabled and runs automatically at 3:00 A.M. daily. It deletes all the logs and repository files that are older than five days.

Retaining the logs and repository files

To configure the time period for which you want to retain the logs and repository files, follow the steps given below.

  1. Log in to Adeptia Connect.
  2. Click Account > Settings.

  3. Expand Microservice Settings, and then select ArchivalAndCleanup in the left panel.


  4. Expand the property category, Log Cleanup.
  5. Change the retain time for different types of logs as per your requirement by setting the values in their respective properties. The following table shows the list of properties governing the retain time of various types of logs.

    Property Name

    Logs

    abpm.AU_LOG.logRetainTimeSystem Logs, Audit Trail Logs, and Process Flow Logs
    abpm.AU_TRANSACTIONDATA.logRetainTimeProcess Flow Logs
    abpm.AU_EVENTLOG.logRetainTimeEvent Logs
    abpm.AU_PROCESSVARIABLETRACKER.logRetainTimeSolution Dashboard
    abpm.AU_TRANSACTIONLOG.logRetainTimeProcess flow logs
    abpm.EDI.logRetainTimeB2Bi logs

    It is recommended not to change any property other than the retain time properties.

    It is recommended to define same retain time for different types of logs to maintain the consistency.

    If the time period defined for retaining the logs of an activity has expired, and the activity is in running/waiting state, its logs will be still be retained.

  6. Click Update to save the changes.

    If you wish to change the schedule for cleaning up the logs and repository, you need to set the time in an environment variable LOG_CLEANUP_CRON_EXPRESSION in the values.yaml file.Â