Enabling Guest OS logging for VMware Tools

By default, VMware Tools will only generate logs where this a fatal error or if the service becomes unresponsive.  In order to gather information for troubleshooting VMware Tools you will be required to enable debug logging within the VMware Tools configuration file, as below:

1) Browse to the configuration file location as specified per operating system.  If the files does not exist create the file with a text editor.

 

Guest operating system Path to configuration file
Windows XP and Windows Server 2000/2003 C:\Documents and Settings\All Users\Application Data\VMware\VMware Tools\tools.conf
Windows Vista, Windows 7, Windows 8, Windows Server 2008 and Windows Server 2012 C:\ProgramData\VMware\VMware Tools\tools.conf
Linux, Solaris, and FreeBSD /etc/vmware-tools/tools.conf
Mac OS X /Library/Application Support/VMware Tools/tools.conf

 

2) Add and save the following lines to the configuration file, depending on the operating system.

[logging]
log = true

vmtoolsd.level = debug
vmtoolsd.handler = file
vmtoolsd.data = c:/tmp/vmtoolsd.log

For Linux:

[logging]
log = true

vmtoolsd.level = debug
vmtoolsd.handler = file
vmtoolsd.data = /tmp/vmtoolsd.log

3) Restart the VMware Tools service.

In order to disable logging for VMware Tools remove and save the following lines from the configuration file and restart the VMware Tools service.

For Windows:

log = true
vmtoolsd.data = c:/tmp/vmtoolsd.log

For Linux:

log = true
vmtoolsd.data = /tmp/vmtoolsd.log
Advertisements

One thought on “Enabling Guest OS logging for VMware Tools

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s