Free system journal logs on Linux
Jul 31, 2023
$ journalctl --disk-usage
$ journalctl --rotate
$ journalctl --vacuum-time=2days
$ vi /etc/systemd/journald.conf
# Edit the following line
SystemMaxUse=100M
$ systemctl daemon-reload
$ journalctl --disk-usage
$ journalctl --rotate
$ journalctl --vacuum-time=2days
$ vi /etc/systemd/journald.conf
# Edit the following line
SystemMaxUse=100M
$ systemctl daemon-reload
Co-founder and CTO of a crypto startup. A full-stack software engineer with a passion for creating innovative tech solutions that make a difference.