Hi,
we are using hazelcast diagnostics logs in our solution. we have configured below properties in our application:
Diagnostics.MAX_ROLLED_FILE_SIZE_MB with value 5
Diagnostics.MAX_ROLLED_FILE_COUNT with value 5
After this, diagnostics log file roll over is working fine for a particular filename.
example: if my host ip is 10.39.40.175, port is 5701, and hazelcast started on timestamp 1577772553220, then diagnostics-10.39.40.175_5701-1577772553220 file name will be used with indexes 000,001, and so on, and accordingly rollover will be applied.
But, if we restart hazelcast multiple times, then each different filename is used for diagnostics logs file, as timestamp is changed. Then rollover doesn't work, And the number of diagnostics logs file keep growing and clean up does not happen.
Is there any other configuration for logs clean up? How can we achieve it?
Thanks,
Shivi Garg