Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Click Accounts > Settings.
  2. Expand the Server Node Settings in the left panel.
  3. Select the server node.
  4. Click Edit.
  5. Click  to expand Maintenance.
  6. Click  to expand the Log Cleanup Properties.
    Image RemovedImage Added
  7. Change the value of the following properties as per your need. 

    Property Name

    Description

    abpm.appmanagement.logCleanupCronExpressionDefine the time in the Cron expression when you want to run the log and repository 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.retainTimeDefine the retain time for repository files. It is recommended to leave this property blank. When this property is blank, the retain time defined for logs within log-cleanup.properties file is used as retain time for data also.
    abpm.appmanagement.logCleanupPropertiesFileDefine the path of log-cleanup.properties file. Log-cleanup.properties file contains the retain information about different log tables. By default, this file is located in .../AdeptiaServer-x.x/ServerKernel/etc folder. It is recommended not to change the value of this property.


  8. Click Save to save the changes.
  9. To reload the configuration, click Reload Configuration link.
    A confirmation message is displayed that the configuration has been reloaded.
  10. To change the retain time for logs, go to .../AdeptiaServer-x.x/ServerKernel/etc/log-cleanup.properties file and change the retain time of the property associated with that particular log. The below table shows the list of retain-time property of various logs within the log-cleanup.properties file.

    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_TASKLOGS.logRetainTimeTask History
    abpm.AU_PROCESSVARIABLETRACKER.logRetainTimeSolution Dashboard
    abpm.AU_TRANSACTIONLOG.logRetainTimeProcess flow logs
    abpm.EDI.logRetainTimeB2Bi logs

    It is recommended that you should not change any property other than the retain time properties.

    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.

    Log Cleanup does not delete logs of those process flows that are in the running/waiting state. This means that, if a process flow is in the running/waiting state for more days than the days specified in the retain time properties of logs then, the Log Cleanup will not delete the logs of that particular process flow.

  11. Save the file.
  12. Restart the Connect Server.