Free system journal logs on Linux

Sergey Royz
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

--

--

Sergey Royz

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.