[systemd-devel] Pruning journal on systemd 216
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Tue Nov 10 07:44:32 PST 2015
On Tue, Nov 10, 2015 at 09:23:50AM -0600, Ian Pilcher wrote:
> Running Fedora 21 with systemd 216, and just discovered that journal
> files are taking up 1.8G. I see references to "journalctl
> --vacuum-time" on the interwebs, but that option doesn't seem to be
> present in my version.
>
> So how should I go about cleaning out older journal data?
You can
a) simply remove files by hand
(find /var/log/journal/ -type f -mtime +DAYS -delete)
b) set SystemMaxUse= or MaxRetentinoSec= in /etc/systemd/journald.conf
and 'systemctl kill --signal=SIGUSR2 systemd-journald' to execute
the new limit.
Zbyszek
More information about the systemd-devel
mailing list