Knowledge Base
The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides

|
Enabling debug logging in Lab Manager 4.x
Purpose
Resolution
Caution: Only enable debug logging to gather data. Once the data is gathered, change the logging level back to normal.
Lab Manager Server operating system
To enable debug logging for the Lab Manager Server operating system:
-
Open the file C:\Program Files\VMware\VMware vCenter Lab Manager\VSLA.Backend.Service.exe.config in a text editor.
- Locate the entry for logging.
The entry for normal logging looks like:
<priority value="DEBUG"/>
<!-- Uncomment the following to enable the debug logging
<appender-ref ref="BackendServiceDebugLogger"/>
<appender-ref ref="MonitorDebugLogger"/>
-->
Change it to the entry for debug logging. It looks like:
<priority value="DEBUG"/>
<appender-ref ref="BackendServiceDebugLogger"/>
<appender-ref ref="MonitorDebugLogger"/>
- Save the file and close the text editor.
Note: This change takes effect immediately. The files BackendServiceDebug.log and MonitoringServiceDebug.log are created in the C:\Documents and Settings\All Users\Application Data\VMware\VMware vCenter Lab Manager\Logs directory.
- Open the file C:\Program Files\VMware\VMware vCenter Lab Manager\WebSrvr\Web.config in a text editor.
- Locate the entry for logging.
The entry for normal logging looks like:
<priority value="DEBUG"/>
<!-- Uncomment the following to enable the debug logging
<appender-ref ref="DebugLogFile"/>
-->
Change it to the entry for debug logging. It looks like:
<priority value="DEBUG"/>
<appender-ref ref="DebugLogFile"/>
- Save the file and close the text editor.
- Change the logging levels back to normal when you are done gathering data.
To increase the number of log files that the Lab Manager Server will create:
- Open the file C:\Program Files\VMware\VMware vCenter Lab Manager\VSLA.Backend.Service.exe.config in a text editor.
- Locate the entries labelled maxSizeRollBackups.
- To increase the amount of logs to say 30, specifiy the value 30.
- Save the file and close the text editor.
Note: The default value for the maxSizeRollBackups entry is 10.
Lab Manager user interface
To enable debug logging on the Lab Manager user interface:
- Click About.
- Press Ctrl-U.
- Click Debug Mode to match the required logging level.
- Click OK.
Lab Manager agents
To enable debug logging on Lab Manager agents on each ESX host:
- In /etc/opt/vmware/vslad/vslad.xml, change the <config><log><level> element to trivia.
- Restart the agent with the command:
/etc/opt/init.d/vslad restart
Note: The logs are in /var/log/vmware/vslad.
To increase the number of log files that the Lab Manager agent will create:
- In /etc/opt/vmware/vslad/vslad.xml, change the values for the entries <maxFileNum> and <maxFileSize> to a higher value.
- Restart the agent with the command:
/etc/opt/init.d/vslad restartNote: The default values for <maxFileNum> and <maxFileSize> are that of 8 and 262144 respectively.
Lab Manager installer
To enable debug logging on the Lab Manager installer, run the installer from the command line with the -V switch.
New files generated include:
- %temp%\vmsetup.<timestamp>.log
- %temp%\vmsetup.<timestamp>.VMware vCenter Lab Manager.msi.log
Request a Product Feature
To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.
Actions
- KB Article:
- Updated:
- Categories:
- Product Family:
- Products:
- Product Versions:

