Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

Adeptia Connect maintains the archival of various log files on a separate server. These archival archived logs file can cause issues if they accumulate over a long period of time. Adeptia Connect has an archival 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 daysdays. It deletes all the logs and repository files that are older than 15 days. 

To configure the archival logs cleanup: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.

  1. Login 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 Archival.
    Image Modified

  5. Change the values of for the following properties as per your need.

    Property Name

    Description

    abpm.appmanagement.archiveLogCleanupCronExpressionDefine the time in the Cron expression when you want to run the archive log cleanup. For example, for 8 PM you need to define 0 0 20 * * ?. For information on Cron expression, click here.
  6. Click Save to save the changes.
  7. Restart Kernel and WebRunner.
  8. To change the properties of archiveLog-cleanup.properties file, go to .../AdeptiaServer-x.x/ServerKernel/etc/archiveLog-cleanup.properties file and change the properties as per your requirements. The below table shows the list of retain-time property of various logs within the log-cleanup.properties file.properties given in the table below as per your requirements. 


    Property Name

    Logs

    abpm.archive.logRetainTimeDefines the retain time for archive log. If the value is left blank then it takes 30 days as the default retain time.
    abpm.archive.dataRetainTimeDefines 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.


    Note
    It is recommended to define same retain time for different logs to maintain the consistency within all logs. However, you can define different retain time for different logs.


  9. Save the file. Click Update to save the changes.Restart Kernel and WebRunner. Is this step required