Enable VMware Tools, VM backup and VSS Logging in ESX/ESXi 5.1

VMware Tools Logging can be enabled with the following procedure:

Login to the guest VM and as Administrator complete the following:

  1. Create or Edit the tools.conf file located at C:\ProgramData\VMware\VMware Tools\
  2. Locate the line in the [logging] section that states log = false. If the line is not in the file or the [logging] section does no exist add it as follows:

    [logging]
    log = true

    vmtoolsd.level = debug
    vmtoolsd.handler = file
    vmtoolsd.data = C:\temp\vmtoolsd.log

     
  3. Create the C:\Temp folder on the guest if it does not exist
  4. Restart the vmtools service

 

VMware Tools Logging can be disabled with the following procedure:

Login to the guest VM and as Administrator complete the following:

  1. Edit the tools.conf file located at C:\ProgramData\VMware\VMware Tools\

Locate the line in the [logging] section that states log = true and change this to read as log = false. Save the file.


 

Virtual machine backup and Volume Shadow Copy troubleshooting/logging

Login to the guest VM and as Administrator complete the following:

  1. Create or Edit the tools.conf file located at C:\ProgramData\VMware\VMware Tools\
  2. Locate the line in the [logging] section insure you see log =true. If the line is not in the file or the [logging] section does not exist add it as follows:

    [logging]
    log = true

    <Note: These 4 lines below can be added to an existing file with a [logging] section>
    vmbackup.level = debug
    vmbackup.handler = vmx

    vmvss.level = debug
    vmvss.handler = vmx

     
  3. Restart the vmtools service

     
  4. All VSS and VM backup debug information will be written to the VM guest’s ESX hosts vmware.log file and file location. ( Writes are disabled on the guest during the VSS/backup process