Increasing the logging level for host profiles
book
Article ID: 326264
calendar_today
Updated On:
Products
VMware vSphere ESXi
Issue/Introduction
This article provides steps to increase the logging level of a host profile engine when required for troubleshooting purposes.
Environment
VMware vSphere ESXi 7.0
VMware vSphere ESXi 6.5
VMware vSphere ESXi 6.7
Resolution
To increase the logging level for a host profile:
- Open an SSH connection to the ESXi host and login with root
- Navigate to the /etc/vmware/hostd/ directory.
- Open the hostProfileEngine.xml file in a text editor.
- Set the log level, for example:
<logLevel>DEBUG</logLevel>
- Set the host profile engine tracing to true, if necessary:
<traceEnabled>true</traceEnabled>
Note: Enable host profile engine tracing when you require verbose command information. - Save and close the hostProfileEngine.xml file.
Note: The changes will take effect the next time you perform a host profile operation.
Additional Information
Standard logging is written to /var/log/syslog.log
Feedback
thumb_up
Yes
thumb_down
No