Log files can help troubleshoot issues with installation, display protocol, and various feature components. You can create a configuration file to configure the verbosity level.
|Type of Logs||Directory Path|
|View Agent (for Horizon 6) or Horizon Agent (for Horizon 7)||/var/log/vmware|
|View Agent (for Horizon 6) or Horizon Agent (for Horizon 7)||/usr/lib/vmware/viewagent/viewagent-debug.log|
Edit the /etc/vmware/config file to configure logging.
Collecting a Log Bundle
You can create a Data Collection Tool (DCT) bundle that gathers the machine's configuration information and logs into a compressed tarball. Open a command prompt in the Linux desktop and run the dct-debug.sh script.
The tarball is generated in the directory from which the script was executed (the current working directory). The file name includes the operating system, timestamp, and other information; for example: ubuntu-12-vdm-sdct-20150201-0606-agent.tgz
This command collects log files from the /tmp/vmware-root directory and the /var/log/vmware directory, and also collects the following system log and configuration files:
- /proc/cpuinfo, /proc/meminfo, /proc/vmstat, /proc/loadavg
- Core files in /usr/lib/vmware/viewagent
- Any crash files in /var/crash/_usr_lib_vmware_viewagent*