The vmx.log.rotateSize parameter specifies the log file size at which the switch to new log files happens for the logs for individual virtual machines. Use this parameter together with the vmx.log.keepOld parameter to ensure acceptable log file sizes without losing critical logging information.
This procedure discusses changing the virtual machine rotate size on an individual virtual machine.
To limit the rotate size for all virtual machines on a host, edit the /etc/vmware/config file. If the vmx.log.KeepOld
property is not defined in the file, you can add it. You can use a PowerCLI script to change this parameter for selected virtual machines on a host.
You can use the log.rotateSize parameter to affect all log files, not just the virtual machine log files.
You can change the value of vmx.log.rotateSize for all virtual machines from the vSphere Web Client or by using a PowerCLI script.
Prerequisites
Turn off the virtual machine.