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 Suite maintains the archival of various log files on a separate server. These archival logs file can cause issues if they accumulate over a long period of time. Adeptia Suite has an archival log cleanup task that you can schedule to run at a specific time to clean up the archived files which are older than a specified number of days. By default, cleanup of archival logs happens after 30 days. It deletes all the logs and repository files that are older than 30 days. However, you can always configure the duration in the archiveLog-cleanup.properties file.

To configure the archival logs cleanupAt times the automatic cleanup of data, log, and archive files can be interrupted due to some Process Flow execution or any other reason. In such a situation, you can easily reschedule the automatic cleanup of data, log, and archive files. 

To configure the rescheduling of the cleanup process:

  1. Click Administer > Setup > Application Settings > Update System Properties.



  2. Expand Maintainance > Log Cleanup Properties ScheduleTasks.
    Image Removed
    Image Added

  3. Change the value of the following properties as per your need. 

    Save the file
    Property NameDescription
    abpm.appmanagementautoRescheduleCleanup.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 how to define the Cron expression, click here.
    abpm.appmanagement.archiveLogCleanupPropertiesFileDefine the name of archive log cleanup properties file. archiveLog-cleanup.properties file contains the retain information about different log tables. By default this file is located at .../AdeptiaServer-x.x/ServerKernel/etc folder. It is recommended that do not change the value of this property.
  4. Click Save to save the changes.
  5. Restart Kernel and WebRunner.
  6. 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.

    Property NameLogs
    abpm.archive.logRetainTimeDefines the retain time for archive log. If you do not specify a value for it then it takes the default retain time of 30 days.
    abpm.archive.dataRetainTimeDefines the retain time for archive data. If this property is left blank then retain time specified for log will be taken as data retain time.
    Info

    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.

  7. enableEnable or disable automatic rescheduling of cleanup for data, log, and archive files. By default, the value is set to true
    abpm.autoRescheduleCleanup.pollingTimeDefines the rescheduling time (in minutes) of the cleanup process for data, log, and archive files. By default, the value of this property is 60 minutes.
  8. Click Save to save the changes.
  9. Restart Kernel and WebRunner.