Re: Pruning journal on systemd 216

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux