Skip to main content


How to clear the systemd journal logs (journalctl)
systemd has its own logging system which provides centralized management for logging kernel and userland processes. This article explains how to clear the systemd journal (journalctl) log files.
Read More here.
#linux #systemd

N. E. Felibata 👽 reshared this.

There's supposed to be a way to limit the log size as well. I used to remember how, but it's been years since I've used an OS that has systemd.
SystemD Manager: https://github.com/plrigaux/sysd-manager
I tend to forget too, but I don#t work on space-constrained systems much. Something journalctl with SystemMaxUse= and MaxFileSec= values. Kapustin gave good reminder of what is almost old knowledge that is still very useful.