You can use the vSphere Client, the VMware Host Client, or the esxcli system syslog command to configure the syslog service.
For information about using the esxcli system syslog command and other ESXCLI commands, see Getting Started with ESXCLI. For details how to open the ESXi firewall for the port specified in each remote host specification, see ESXi Firewall Configuration.
Procedure
- Browse to the host in the vSphere Client inventory.
- Click Configure.
- Under System, click Advanced System Settings.
- Click Edit.
- Filter for syslog.
- To set up logging globally and configure various advanced settings, see ESXi Syslog Options in the VMware ESXi Upgrade documentation.
- (Optional) To overwrite the default log size and log rotation for any of the logs:
- Click the name of the log that you want to customize.
- Enter the number of rotations and the log size you want.
- Click OK.
Results
Changes to the syslog options take effect.
Note: Syslog parameter settings that you define by using the vSphere Client or VMware Host Client are effective immediately. However, most settings you define by using ESXCLI require an additional command to take effect. For more details, see
ESXi Syslog Options in the
VMware ESXi Upgrade documentation.