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

  1. Connect to the ESXi system using the vSphere Client.
  2. On the Host > Manage screen, select the System tab.
  3. On the System tab screen, select Advanced Settings.
  4. Scroll to find the Config.HostAgent.log.level setting.
    By default this setting is info.
  5. Select the Config.HostAgent.log.level setting and click Edit option.
    A dialog box opens, where you can enter a new setting.
  6. 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.