How to manage journald logs and log rotation

Build Loghaven, finding signal in system logs with journald, rsyslog, logrotate.

  • Difficulty Intermediate
  • Parts 10
  • Stack journald, rsyslog, logrotate

What you are learning

Loghaven is finding signal in system logs. The teaching focus is Logging (journald, rsyslog, logrotate).

Work in order. Early parts set vocabulary and environment; later parts assume the earlier checkpoints.

How to use these lessons

Read the goal, open the matching GitHub folder, complete the lab or exercises, then return for the explanation. If a command fails, check you are in the numbered folder first.

Open the Loghaven GitHub repo →

Parts in order

Each chapter below is one checkpoint in this lab.