Increasing the logging level for host profiles
search cancel

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:
  1. Open an SSH connection to the ESXi host and login with root
  2. Navigate to the /etc/vmware/hostd/ directory.
  3. Open the hostProfileEngine.xml file in a text editor.
  4. Set the log level, for example:
    <logLevel>DEBUG</logLevel>
  5. 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.
  6. 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