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


  1. Right-click a virtual machine in the inventory and select Edit Settings.
  2. Click the VM Options tab and expand Advanced.
  3. 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.