This article provides steps to increase the log level setting for Hostd service in vSphere ESXi 7.0 Update 2 and later.
VMware vSphere ESXi 7.x
VMware vSphere ESXi 8.x
Log level on the ESXi Host can be changed by the following 2 methods.
1. Using configstorecli via the ESXi shell.
configstorecli config current get -c esx -g services -k hostd -outfile hostd.json
"log": { "directory": "/var/log/vmware/", "max_file_num": 8, "max_file_size": 524288, "name": "hostd", "output_to_console": false, "output_to_files": false, "output_to_syslog": true, "syslog": { "facility": "local4", "ident": "Hostd", "log_header_file": "/var/run/vmware/hostdLogHeader.txt"
}
"log": { "directory": "/var/log/vmware/", "max_file_num": 8, "max_file_size": 524288, "name": "hostd", "level": "trivia", "output_to_console": false, "output_to_files": false, "output_to_syslog": true, "syslog": { "facility": "local4", "ident": "Hostd", "log_header_file": "/var/run/vmware/hostdLogHeader.txt"
}
configstorecli config current set -c esx -g services -k hostd -infile hostd.json
/etc/init.d/hostd restart
2. Using vSphere UI.
/etc/init.d/hostd restartFor other configuration settings for hostd, refer- How to change configuration settings for Hostd service in vSphere ESXi 7.0 Update 2 and later