When an activity, for example, Transaction, Process Flow, etc. executes in Adeptia Connect, the corresponding logs are created. In case of Process Flow execution, temporary files – to store intermediate data, called repository files, such as source, intermediate XML data files, and target formatted data – are also generated. These logs and repository files can cause issues if they accumulate over a long period of time.
Adeptia Connect has a cleanup task that is scheduled to run daily to clean up the logs and temporary repository files older than the specified number of days (retain time). When the cleanup task runs (at 3:00 AM by default) for log database, the logs and the repository files for which the retain time has expired are moved (archived) to the log archive database table. If log archival is not enabled they are deleted permanently. When cleanup runs (at 5:00 AM by default) for log archive database table, the archived logs and the repository files for which the retain time has expired are deleted permanently.
You can define the number of days for which you want to retain the logs and the repository files in the log as well as log archive database tables by setting the respective retain time properties.
...
The time at which the cleanup starts for log and log archive database tables is governed by the following properties available in the server-configure.properties file located at <ConnectServerInstallFolder>/AdeptiaServer/ServerKernel/etc.
- To schedule the logs cleanup, set the time using cron expression as a value for the propertyabpm.appmanagement.logCleanupCronExpression.The default values for these properties are set to 3:00 A.M.
- To schedule the archived logs cleanup, set the time using cron expression as a value for the property abpm.appmanagement.archiveLogCleanupCronExpression. The default values for these properties are set to 5:00 A.M.
An example cron expression to schedule the logs or archived logs cleanup at 8:00 PM is 0 0 20 * * ?. For information on cron expressions, click here.
These properties are available in the server-configure.properties file located at <ConnectServerInstallFolder>/AdeptiaServer/ServerKernel/etc.
To know more about the retain time and other properties that govern the logs archival and cleanup, you can refer to this page.
Info | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
There are some folders that store temporary data also get cleaned up either after successful execution of Process Flow or during log cleanup. The following table lists the location of such folders, theri purpose, and the time when they get cleaned up from the database.
|
Using separate database server for archived logs
...