The default log level setting for the ESXi Host Agent is info. If you run into issues during development, you can set the log level to verbose, or to trivia to obtain SOAP message content to use in debugging.
To change the log level for hostd on an ESXi system, use the following steps.
Procedure
- Connect to the ESXi system using the vSphere Client.
- On the screen, select the System tab.
- On the System tab screen, select Advanced Settings.
- Scroll to find the
Config.HostAgent.log.level
setting.
By default this setting is
info.
- Select the
Config.HostAgent.log.level
setting and click Edit option.
A dialog box opens, where you can enter a new setting.
- Use the drop-down menu to select a new setting, such as Verbose, and click Save.
The
Recent Tasks pane updates to confirm that the change completed.
Results
After the service restarts, the new log level is in effect.