Info or Debug messages continue to appear in hostd.log after changing hostd log level to Warning
search cancel

Info or Debug messages continue to appear in hostd.log after changing hostd log level to Warning

book

Article ID: 439639

calendar_today

Updated On:

Products

VMware vSphere ESXi 8.0 VMware vSphere ESXi

Issue/Introduction

  • The global log level for the ESXi hostd service has been set to warning (e.g., via Config.HostAgent.log.level).
  • Despite this setting, the /var/log/hostd.log file continues to show messages with In(166) (Info) or Db(167) (Debug) prefixes.
  • The affected log entries often contain the subsystem identifier sub=Vmsvc or sub=Vimsvc.

Example log entries:
20##-##-##T##:##:###.###Z In(166) Hostd[#######]: [Originator@6876 sub=Vmsvc.vm:...] Send config update invoked
20##-##-##T##:##:##.###Z Db(167) Hostd[#######]: [Originator@6876 sub=Vmsvc.vm:...] Time to gather config: 47 (msecs)

Environment

VMware vSphere ESXi 8.0
VMware vSphere ESX 9.x

Cause

Specific subsystems within the hostd process, such as the VM Service Plugin (Vmsvc), maintain independent log level configurations in the ESXi Advanced System Settings. These subsystem-specific settings default to verbose or info, which overrides the global hostd log level configuration.

Resolution

These messages typically indicate normal virtual machine configuration synchronization and do not require administrative action. However, if log suppression is required to save disk space or reduce log noise, you can modify the subsystem-specific log level.

Procedure via vSphere Client

  1. Log in to the vSphere Client.
  2. Select the affected ESXi host in the inventory.
  3. Navigate to the Configure tab.
  4. Under System, select Advanced System Settings.
  5. Click Edit and use the filter/search box to locate the following key:
    Ex) Config.HostAgent.level[Vmsvc].logLevel
  6. Change the value from verbose to warning.
    Note: Alternatively, you can clear the value (leave it blank) to force the subsystem to inherit the global hostd log level.
  7. Click OK to save the changes.
    Note: The change takes effect immediately. A restart of management agent (hostd) is not required.

Additional Information

ESXi のグローバルログレベルを Warning に変更した後も hostd.log に Info や Debug メッセージが出力され続ける