6.0.2

Table Of Contents
Table 101. Recommended Minimum Size and Rotation Configuration for hostd, vpxa, and fdm Logs
Log Maximum Log File Size
Number of Rotations to
Preserve Minimum Disk Space Required
Management Agent
(hostd)
10 MB 10 100 MB
VirtualCenter Agent
(vpxa)
5 MB 10 50 MB
vSphere HA agent (Fault
Domain Manager, fdm)
5 MB 10 50 MB
For information about seing up and conguring syslog and a syslog server and installing vSphere Syslog
Collector, see the vSphere Installation and Setup documentation.
Configure Syslog on ESXi Hosts
All ESXi hosts run a syslog service (vmsyslogd), which logs messages from the VMkernel and other system
components to log les.
You can use the vSphere Web Client or the esxcli system syslog vCLI command to congure the syslog
service.
For more information about using vCLI commands, see Geing Started with vSphere Command-Line Interfaces.
Procedure
1 In the vSphere Web Client inventory, select the host.
2 Click the Manage tab.
3 In the System panel, click Advanced System .
4 Locate the Syslog section of the Advanced System Seings list.
5 To set up logging globally, select the seing to change and click the Edit icon.
Option Description
Syslog.global.defaultRotate
Sets the maximum number of archives to keep. You can set this number
globally and for individual subloggers.
Syslog.global.defaultSize
Sets the 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 le
system is persistent across reboots. The directory should be specied as
[datastorename] path_to_le 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 specied 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 congured to receive the forwarded syslog messages. See the
documentation for the syslog service installed on the remote host for
information on conguration.
Chapter 10 After You Upgrade ESXi Hosts
VMware, Inc. 203