You can enable logging to collect log files to help troubleshoot issues with your virtual machine.
Required privilege: Virtual machine.Configuration.Settings
Select a virtual machine.
In the virtual machines and templates inventory tree, select a group of virtual machines and select a virtual machine from the list on the right.
Search for a virtual machine and select it from the search results list.
In the VM Hardware panel, click Edit Settings.
Click VM Options.
Click the Advanced triangle to expand the advanced virtual machine options.
Select Enable logging.
Click OK.