To resolve this issue, configure the default logging location in the ESXi host.
To configure the default logging location in the ESXi host:
- Navigate to Configuration > Software > Advanced Settings > Syslog > Global.
- Set the type of the Syslog.global.logDir parameter to []/scratch/log. In this case, the logs reside on the local disk.
Note: If you want to send the logs to a different datastore, set the type of the Syslog.global.logDir parameter to the complete path where you want to store the log files. For example, [Datastore1]/logs. The location of the datastore should be unique to each ESXi host.
Do not specify the same log directory to multiple hosts, doing so may result in a crash or kernel panic.