For each appliance in the cluster:
- SSH in to the VMware vRealize Automation appliance(s).
- cd /etc/logrotate.d/
- Edit vcac.lr file and add the size entry. See example below
Note:
- This sets the minimum file size detected before rotation occurs.
- Ensure the file ends with a closing curly bracket "}"
- As is seen from example below, the format of the log configuration is very important. It is necessary to setup the shown offset
/var/log/vmware/vcac/va-migration.log {
rotate 8
nodateext
compress
size 15M
missingok
nocreate
notifempty
sharedscripts
postrotate
/etc/init.d/syslog reload > /dev/null
endscript
su root root
}
- Restart the vRealize Automation service:
service vcac-server restart