6.7

Table Of Contents
where:
n
numLogs sets the maximum number of log entries for the specified log messages. After reaching
this number, the specified log messages are filtered and ignored. Use 0 to filter and ignore all the
specified log messages.
n
ident specifies one or more system components to apply the filter to the log messages that these
components generate. For information about the system components that generate log
messages, see the values of the idents parameters in the syslog configuration files. The files
are located in the /etc/vmsyslog.conf.d directory. Use a comma-separated list to apply a filter
to more than one system component. Use * to apply a filter to all system components.
n
logRegexp specifies a case-sensitive phrase with Python regular expression syntax to filter the
log messages by their content.
For example, to set a limit of maximum two-log entries from the hostd component for messages that
resemble the SOCKET connect failed, error 2: No such file or directory phrase with any
error number, add the following entry:
2 | hostd | SOCKET connect failed, error .*: No such file or directory
Note A line starting with # denotes a comment and the rest of the line is ignored.
3 In the /etc/vmsyslog.conf file, add the following entry to enable the log filtering capability.
enable_logfilters = true
4 Run the esxcli system syslog reload command to reload the syslog daemon and apply the
configuration changes.
Turn O Compression for vpxd Log Files
By default, vCenter Server vpxd log files are rolled up and compressed into .gz files. You can turn off this
setting to leave the vpxd logs uncompressed.
Procedure
1 Log in to the vCenter Server using the vSphere Web Client.
2 Select Administration > vCenter Server Settings.
3 Select Advanced Settings.
4 In the Key text box, type log.compressOnRoll.
5 In the Value text box, type false.
6 Click Add, and click OK.
vSphere Monitoring and Performance
VMware, Inc. 207