By default, the virtual machine log file vmware.log is rotated as a result of the virtual machine's Power On or Power Off operation.
To configure log rotation based on file size, include this option in the virtual machines .vmx file:
log.rotateSize = maximum size in bytes the file can grow to
This example specifies the vmware.log file to be rotated when its size reaches 182 kilobytes:
This example specifies the level of rotation to be 10:
This example specifies myVMlog as the new file for logs instead of the default vmware.log: