ESXi hosts run the syslog service (vmsyslogd) that writes messages from system components to log files and can forward messages to syslog collectors.
You can configure the amount and location of the logs. You can also create and apply log filters to modify the logging policy of an ESXi host.