Enabling debug logging for the VMware VirtualCenter Management Webservices log file
book
Article ID: 340514
calendar_today
Updated On:
Products
VMware vCenter ServerSupport Only for Apache Tomcat
Issue/Introduction
This article provides steps to enable debug logging in the VMware Web Services (vws.log) log file. Enabling the debug logging mode provides additional troubleshooting information.
Notes:
By default, logging is set to INFO (Informational).
The default location of the vws.log file is:
Windows 2003 – C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\Logs\vpxd
Windows 2008 and newer – C:\ProgramData\VMware\VMware VirtualCenter\Logs\vpxd\
vCenter Server Appliance 5.x - /var/log/vmware/vpx/
Environment
Apache Tomcat 7 VMware vCenter Server Appliance 5.1.x VMware vCenter Server Appliance 5.5.x VMware vCenter Server 5.0.x VMware vCenter Server 4.0.x VMware vCenter Server 5.5.x VMware vCenter Server Appliance 5.0.x VMware vCenter Server 5.1.x VMware vCenter Server 4.1.x Apache Tomcat 5.5
Resolution
To turn on the debug level log in the vws.log file:
Note: Ensure to take a backup of the file before editing.
Open the log4j.properties using a text editor. The file is located at:
Windows-based vCenter Server - C:\Program Files\VMware\Infrastructure\tomcat\webapps\vws\WEB-INF\classes\log4j.properties
vCenter Server Appliance - /usr/lib/vmware-vpx/tomcat/webapps/vws/WEB-INF/classes