Archival of Logs and Repository
When the log cleanup runs, it deletes logs and repository files. You may want to archive these logs and repository files before they get cleaned up. You can archive the logs by enabling logs archival. Follow the steps given below to archive the logs.
Enabling Archival
To enable the archival:
- Login to Adeptia Connect.
Click Account > Settings.
Expand Microservice Settings, and then select ArchivalAndCleanup in the left panel.
- Expand the property category, Log Archival.
Change the values for the following properties as per your requirement.
Property Name
Description
Default Value
Possible Values
Selection Criteria
abpm.logs.archival.enable Enable or disable Archival of Process flow log. No Yes/No Set this property to Yes, if you want to archive the Process Flow logs before they are cleaned up by the cleanup process.
Â
abpm.logs.archival.batch.enable Specifies whether to archive the logs record by record or in a batch. No Yes/No If the value is No then records are archived one by one.
If the value is Yes then the records are archived in batches. It is recommended that to archive records in batches to avoid any performance related issue.
abpm.logs.archival.batch.size Specifies the number of records to be archived in one batch. 1000 Any positive integer that can be easily supported by the archival database. Its value specifies the number of records archived in one batch when abpm.logs.archival.batch.enable property is set to Yes. abpm.logs.deleteData.onArchivalFailure Specifies whether to delete the records from log table, in case any error occurred in archival, or not. No Yes/No If the value is No then records from main log tables are not deleted when there is any error during archival.
If the value is Yes then records from the main log tables are deleted, even if there is any error during archival.
It is recommended to keep this property as No.
abpm.logs.sendNotification.onArchivalFailure Specifies whether to send the mail, in case of any error during log archival or not. Yes Yes/No If the value is No then no mail notification is sent in case of any error during log archival.
If the value is Yes then mail notification is sent to the email address configured in admin user, in case of any error during log archival. Make sure that Mail Server Parameters are configured properly.
abpm.data.archival.enable Option to set process flow repository archival enable or disabled. No Yes/No Set this property to Yes, if you want to archive the process flow repositories before they are cleaned up by cleanup process.
Click Update to save the changes.