The CPM's "log rotate" runs at 04:02 am every day, and messages file is rotated if it's greater than 5M in size.n/a
Provide the logic for log rotate of messages files.
As per the default logrotate configuration in XOS, messages file larger than 5M are rotated during a daily cronjob. Smaller messages file will be rotated on a weekly basis and 4 weeks of backlogs will be kept.
Here is an example code snippet from XOS 9.6.5 for log rotate of messages file: