8.5.8. Configuring Logging
Summary
The Hypervisor creates and updates a number of log files. The Logging screen allows configuration of a daemon to automatically export these log files to a remote server.
Procedure 8.20. Configuring Hypervisor Logging
logrotate Configuration
The logrotate utility simplifies the administration of log files. The Hypervisor uses logrotate to rotate logs when they reach a certain file size.Log rotation involves renaming the current logs and starting new ones in their place. The Logrotate Max Log Size value set on the Logging screen is used to determine when a log will be rotated.Enter the Logrotate Max Log Size in kilobytes. The default maximum log size is 1024 kilobytes.rsyslog Configuration
The rsyslog utility is a multithreaded syslog daemon. The Hypervisor is able to use rsyslog to transmit log files over the network to a remote syslog daemon. For information on setting up the remote syslog daemon, see the Red Hat Enterprise Linux Deployment Guide.- Enter the remote rsyslog server address in the Server Address field.
- Enter the remote rsyslog server port in the Server Port field. The default port is
514.
netconsole Configuration
The netconsole module allows kernel messages to be sent to a remote machine. The Hypervisor uses netconsole to transmit kernel messages over the network.- Enter the Server Address.
- Enter the Server Port. The default port is
6666.
Save Configuration
To save the logging configuration, select and press Enter.
Result
The logging configuration has been updated and logs will be exported to the remote rsyslog server specified.