6.5.1

Table Of Contents
5 To set up logging globally, select the setting to change and click Edit.
Option Description
Syslog.global.defaultRotate Maximum number of archives to keep. You can set this number globally and for
individual subloggers.
Syslog.global.defaultSize Default size of the log, in KB, before the system rotates logs. You can set this
number globally and for individual subloggers.
Syslog.global.LogDir Directory where logs are stored. The directory can be located on mounted NFS or
VMFS volumes. Only the /scratch directory on the local file system is persistent
across reboots. Specify the directory as [datastorename] path_to_file, where the
path is relative to the root of the volume backing the datastore. For example, the
path [storage1] /systemlogs maps to the
path /vmfs/volumes/storage1/systemlogs.
Syslog.global.logDirUnique Selecting this option creates a subdirectory with the name of the ESXi host under
the directory specified by Syslog.global.LogDir. A unique directory is useful if
the same NFS directory is used by multiple ESXi hosts.
Syslog.global.LogHost Remote host to which syslog messages are forwarded and port on which the
remote host receives syslog messages. You can include the protocol and the port,
for example, ssl://hostName1:1514. UDP (default), TCP, and SSL are
supported. The remote host must have syslog installed and correctly configured
to receive the forwarded syslog messages. See the documentation for the syslog
service installed on the remote host for information on configuration.
6 (Optional) To overwrite the default log size and log rotation for any of the logs.
a Click the name of the log that you want to customize.
b Click Edit and enter the number of rotations and the log size you want.
7 Click OK.
Changes to the syslog options take effect immediately.
ESXi Log File Locations
ESXi records host activity in log files, using a syslog facility.
Component Location Purpose
VMkernel
/var/log/vmkernel.log
Records activities related to virtual
machines and ESXi.
VMkernel warnings
/var/log/vmkwarning.log
Records activities related to virtual
machines.
VMkernel summary
/var/log/vmksummary.log
Used to determine uptime and availability
statistics for ESXi (comma separated).
ESXi host agent log
/var/log/hostd.log
Contains information about the agent that
manages and configures the ESXi host
and its virtual machines.
vCenter agent log
/var/log/vpxa.log
Contains information about the agent that
communicates with vCenter Server (if the
host is managed by vCenter Server).
vSphere Security
VMware, Inc. 109