Systemd journal log file setting

From www.ReeltoReel.nl Wiki
Revision as of 15:42, 8 January 2015 by Pvdm (talk | contribs) (Created page with "The new openSUSE 13.2 journald (from systemd) is sometimes quickly using up disk space. There are setting you can tweak in /etc/systemd/journald.conf <pre>[Journal] Compress...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The new openSUSE 13.2 journald (from systemd) is sometimes quickly using up disk space.

There are setting you can tweak in /etc/systemd/journald.conf

[Journal]
Compress=yes
SystemMaxUse=500M
SystemKeepFree=2G

After that, restart the services a few times for the changes to take effect:

systemctl restart systemd-journald.service 
systemctl restart systemd-journal-flush.service 

You should see a reduction in the size of the /var/log/ directory almost immediately.