6.0.1

Table Of Contents
n
logRegexp specifies a case-sensitive phrase with Python regular expression syntax to filter the log
messages by their content.
For example, if you want 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 Off 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.
ESXi VMkernel Files
If the VMkernel fails, an error message appears and then the virtual machine reboots. If you specified a
VMware core dump partition when you configured your virtual machine, the VMkernel also generates a
core dump and error log.
More serious problems in the VMkernel can freeze the machine without an error message or core dump.
Viewing Log Files with the Log Browser
You can view, search, and export one or more vCenter Server and ESXi log files at a time using the log
browser.
You can also export, manage, and view different log types.
NOTE The log browser cannot be used for the Platform Services Controller in the vCenter Server Appliance
or vCenter Server on Windows.
Retrieve Logs
When you retrieve logs for a host or vCenter Server, you can use these logs to view, search, filter, and
compare with other system logs.
Procedure
1 Navigate to the host or vCenter Server that contain the logs you want to retrieve.
Chapter 10 System Log Files
VMware, Inc. 171