Journald

From DWIKI
Revision as of 09:25, 26 April 2023 by Tony (talk | contribs) (→‎Fix journal size)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Links

HOWTO

Limit journal log size

journalctl --vacuum-time=10d

or

journalctl --vacuum-size=1G

Journal settings

/etc/systemd/journald.conf

SystemMaxUse=1G

and then

systemctl restart systemd-journald.service

tail a journal log

journalctl -u sshguard -f