Page MenuHomeSoftware Heritage

Logrotate for systemd-journald
Open, NormalPublic

Description

We currently let the systemd journal take up as much space as it needs on the root filesystem of our machines.

We also ship those logs to banco (using journalbeat), and we make sure that works using a nagios check (/usr/lib/nagios/plugins/swh/check_journal).

We should add a cron that makes sure that the logs have been shipped, and does the rotation using journalctl --vacuum-time.

Event Timeline

olasd created this task.Oct 3 2017, 12:40 PM

Systemd journal size now limited t 400MB by puppet configuration
Reference commit: https://forge.softwareheritage.org/rSPPROFa4ac4669eff6