Pruning journal on systemd 216

2015-11-10 Thread Ian Pilcher

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?

TIA!

--

Ian Pilcher arequip...@gmail.com
 "I grew up before Mark Zuckerberg invented friendship" 


--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Pruning journal on systemd 216

2015-11-10 Thread Zbigniew Jędrzejewski-Szmek
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
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct