Page tree

Versions Compared

Key

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

...

log.maxcount= ( DBSync default log.maxcount=6000, As based on the above explanation please follow the timing syntax to add the max count- (i.e To limit the count of the logs generated)
log.cleaner.cron = (It is based on the user's requirements, please follow the timing syntax to clean all the successful log files one by one as per the given specified parameter for log.cleaner.cron).


Note: Now you can change the above properties like log.maxcount and log.cleaner.cron for further changes in the profile for the log screen.

Users can change these 2 properties to go to the system.properties and make the changes.

Example: See the details below:

  • log.maxcount=4 
  • log.cleaner.cron=0 0/5 * * * ?

    log.maxcount=4 means if a user running Cleancopy or any other command with help of scheduler like:
    • Command - Clean copy
    • Minutes - 1 minute
  • Then, you have to wait for every one minute the command executes and runs the sync. Users will see on the log page that logs are generating in every one minute.
  • After 5 mins the page will get refreshed and the user will see the deleted logs from the UI and h2 database as well. All the deleted logs are permanently deleted from the h2 database and from the UI.

...