2022
...
Info | ||
---|---|---|
| ||
0 * * * 1 [command] |
The below commands need to add in the system.properties to execute the cron- log file cleaner.
Info | ||
---|---|---|
| ||
log.maxcount= |
The above commands need to add in the system.properties to execute the cron- log file cleaner.
Example:
log.maxcount= 12
log.Example:
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 logs as per the given time frame)
ex:- log.cleaner.cron = 0 0/2 * * * ? *
The above commands explains that in every 2 mins 1 log file will be created in logs tab. Once, 12 log files will be created after