You can enable logging to collect log files to help troubleshoot problems with your virtual machine.

ESXi hosts store virtual machine log files in the same directory as the virtual machine's configuration files. By default, the log file name is vmware.log. Archived log files are stored as vmware-n.log, where n is a number in sequential order beginning with 1.

Required privilege: Virtual machine.Configuration.Settings


Right-click the virtual machine and select Edit Settings.


To locate a virtual machine, select a datacenter, folder, cluster, resource pool, host, or vApp.


Click the Related Objects tab and click Virtual Machines.


Click the VM Options tab and expand Advanced.


In the Settings row, select Enable logging and click OK.

You can view and compare log files in the same storage location as the virtual machine configuration files.