Log management
All ESXi hosts run a syslog service (vmsyslogd), that logs messages from the VMkernel and other system components to log files. The log destination can be configured from the vSphere Client; select the host and click Configure | Settings | Advanced System Settings. By default, the Syslog.global.logDir parameter is set to [] /scratch/log.
ESXi can be configured to store log files on an in-memory filesystem. This occurs when the host's /scratch directory is linked to /tmp/scratch. When this is done, only a single day's worth of logs is stored at a time. For more information on ESXi partitions, see Chapter 5, Configuring and Managing vSphere 6.5.
You can also set a syslog server, both with the GUI (under the advanced settings) ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access