Keep the systemd journal across reboots and cap its size
Make journald keep logs across reboots, set a size ceiling, verify it worked, and undo it. Applies to systemd-based Linux distributions.
Tag
1 article tagged journalctl.
Blog
Security
The config changed overnight and nobody did it. Everyone says so. The logs disagree. How to read sudo logs and login records, record whole sudo sessions, watch key files with auditd, and why the logs shouldn't only live on the box.
Linux
Your server has written four million log lines since Tuesday, and exactly one of them explains why it crashed. Ten journalctl tricks for filtering by service, time, boot and priority, so you can find it before lunch.