The logging setting
The logging setting allows you to turn logging on or off.To turn logging off, enter logging="false" in the virtual machine's .vmx file. To turn logging back on, changelogging="false" to logging="true".
To configure log rotation based on file size, include this option in the virtual machine's .vmx file:
log.rotateSize = <maximum size in bytes the file can grow to>
Note: The default value is 0 or Unlimited.
This example specifies the vmware.log file to be rotated when its size reaches 100 kilobytes:
By default, ESX 3.0 keeps six rotations of the vmware.log file (vmware.log, vmware-1.log, vmware-2.log, etc).log.rotateSize = "100000"
This example specifies the level of rotation to be 10:
To specify an alternative location or filename for virtual machine logging, use the log.fileName option in the virtual machine's .vmx file.log.keepOld = "10"
Note: The default value for log.keepOld is 3.
This example specifies "myVMlog" as the new file for logs instead of the default "vmware.log":
log.fileName = "myVMlog"
This example directs logs to be written to an alternate directory called "myVM" in a different VMFS volume, "vol1":
log.fileName = "/vmfs/volumes/vol1/myVM/myVM.log"