Setting the Log Level on
ESXi Systems
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.
- Connect to the ESXi system using the vSphere Client.
- On thescreen, select theSystemtab.
- On theSystemtab screen, selectAdvanced Settings.
- Scroll to find theConfig.HostAgent.log.levelsetting.By default this setting isinfo.
- Select theConfig.HostAgent.log.levelsetting and clickEdit option.A dialog box opens, where you can enter a new setting.
- Use the drop-down menu to select a new setting, such asVerbose, and clickSave.TheRecent Taskspane updates to confirm that the change completed.
After the service restarts, the new log level is
in effect.