8.0

Table Of Contents
Table 4-22. Legacy Syslog Options
Option ESXCLI command Description
Syslog.global.logHost esxcli system syslog config
set --loghost=<str>
Defines a comma-delimited list of
remote hosts and specifications
for message transmissions. If the
loghost=<str> field is blank, no logs
are forwarded. While no hard limit to
the number of remote hosts to receive
syslog messages exists, good practice
is to keep the number of remote hosts
to five or less. The format of a remote
host specification is:
protocol://
hostname|ipv4|'['ipv6']'[:port].
The protocol must be one of TCP,
UDP, or SSL. The value of a port
can be any decimal number from
1 through 65535. If a port is not
provided, SSL and TCP use 1514.
UDP uses 514. For example: ssl://
hostName1:1514.
Syslog.global.defaultRotate esxcli system syslog config
set --default-rotate=<long>
Maximum number of old log files
to keep. You can set this number
globally and for individual subloggers
(see Syslog.global.defaultSize).
Syslog.global.defaultSize esxcli system syslog config
set --default-size=<long>
Default size of log files, in KiB. After a
file reaches the default size, the syslog
service creates a new file. You can set
this number globally and for individual
subloggers.
Syslog.global.logDir esxcli system syslog config
set --logdir=<str>
Directory where logs reside. The
directory can be 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.
VMware ESXi Installation and Setup
VMware, Inc. 235