Logs and audit
3 articles, grouped by kind; the order follows the tracks.
Concepts 2
-
Log rotation with logrotate
Keeping logs from filling the disk — rotation, compression, retention, checking configs.
4 minlogrotate -dlogrotate -fcat -
rsyslog — system logs
Writes text logs to /var/log and forwards them over the network; it does not rotate them itself, that's logrotate's job.
4 mintail -frsyslogd -N1logger -p
Commands 1
-
journalctl — reading the systemd journal
Reading the systemd journal (journald) — filters by service, time, priority.
5 minjournalctl -ujournalctl -xeujournalctl -p
Nothing found. Try a shorter query.