Details
Solution
You must create an additional job in logrotate to control the size of the log.
As user root on the ESX Host:
- Backup the /etc/logrotate.conf file.
cp /etc/logrotate.conf /etc/backup-logrotate.conf - Add the following lines to the end of the /etc/logrotate.conf file:
/opt/LGTOaam512/log/rule/VMWareClusterManager.trace { rotate 2 daily
size=200M notifempty compress } - Save the file.
This change keeps the file from growing to large. It works by using the logrotate cron job to backup and compress the old version of the log. It restricts the number of logs to 2. It is done on a daily basis and when the file is not zero size and when the size grows above 200 MegaBytes.