systemd journal ate 12gb and now the box is unhappy
journalctl --disk-usage says 12.4G on an Ubuntu 22.04 box with a 40G root disk. /var/log/journal is the culprit. There's a service logging every HTTP request at info level, so a few thousand lines a minute. journalctl --vacuum-time=7d freed some but it came back within a week. What's the right way to cap this permanently? It came back within a week after I vacuumed once.
4 replies