[systemd-devel] 回复: systemd-devel Digest, Vol 137, Issue 26
Lennart Poettering
lennart at poettering.net
Thu Sep 23 12:26:42 UTC 2021
On Mi, 22.09.21 21:34, krave1986121 at gmail.com (krave1986121 at gmail.com) wrote:
> So, can I assume that journalctl --flush is for Linux internal processes not
> for end users?
Yes, pretty much.
(Well, I mean, there are scenarios you could think where you want to
tell journald to temporarily switch to volatile logging via "journalctl
--relinquish-var", then do something with /var/log (like replace it,
backup it, overmount it, whatever), and then eventually want to switch
back to using it, which you then can do with "journalctl --flush".
Lennart
--
Lennart Poettering, Berlin
More information about the systemd-devel
mailing list