108.2 – System logging
Weight
4
Description
Candidates should be able to configure rsyslog.
This objective also includes configuring the logging daemon to send log output to a central log server or accept log output as a central log server.
Use of the systemd journal subsystem is covered.
Also, awareness of syslog and syslog-ng as alternative logging systems is included.
Key Knowledge Areas
-
Basic configuration of
rsyslog. -
Understanding of standard facilities, priorities and actions.
-
Query the
systemdjournal. -
Filter
systemdjournal data by criteria such as date, service or priority. -
Configure persistent
systemdjournal storage and journal size. -
Delete old
systemdjournal data. -
Retrieve
systemdjournal data from a rescue system or file system copy. -
Understand interaction of
rsyslogwithsystemd-journald. -
Configuration of
logrotate. -
Awareness of
syslogandsyslog-ng.
Files, Terms, and Utilities
-
/etc/rsyslog.conf -
/var/log/ -
logger -
logrotate -
/etc/logrotate.conf -
/etc/logrotate.d/ -
journalctl -
systemd-cat -
/etc/systemd/journald.conf -
/var/log/journal/