Specifications

5 To set up logging globally, click global and make changes to the fields on the right.
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 file system
is persistent across reboots. The directory should be specified as
[datastorename] path_to_file where the path is relative to the root of the volume
backing the datastore. For example, the path [storage1]
var/log/messages maps to the
path /vmfs/volumes/storage1/var/log/messages. If no path is
specified, all log files are sent to /var/log.
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:514. 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 loggers.
b Click the name of the log you that want to customize and enter the number of rotations and log size
you want.
7 Click OK.
Changes to the syslog options take effect immediately.
Collecting Log Files
VMware technical support might request several files to help resolve technical issues. The following sections
describe script processes for generating and collecting some of these files.
Set Verbose Logging
You can specify how verbose log files will be.
Procedure
1 Select Administration > vCenter Server Settings.
2 Select Logging Options.
3 Select Verbose from the pop-up menu.
4 Click OK.
vCenter Server and Host Management
92 VMware, Inc.