> The key to getting good answers
is to ask good questions.
Apparently, I'm not quite asking "good questions" this weekend.
I was looking for a more integrated view of journald so I could
differentiate the advice given in this thread, and see how the
two approaches provided in this thread converge or diverge.
(Why do I feel like a mathematician right now?) None of the 4
sources:
the Fedora sys. admin. guide, the digitalocean tutorial, the
journalctl man page, and the journald.conf man page
quite do it, separately or together.
For review, the two approaches are:
A. using journald.conf to customize journald, and
B. (1) "journalctl --flush
--rotate";
(2) "rm -rfv /var/log/journal/*/*@*"; (3) "journalctl
--update-catalog --sync".
My first question:
If I use journald.conf to, say (hypothetical values for now):
* have the system start a new journald file each day, and
* delete journald files once they're a month old,
would I still need to do B above, or will A automatically cause
the clean-out of all journald files more than a month old (maybe
the next day or after a reboot)?
Second question:
What is the preferred way of changing the journald
configuration? That is, is there some GUI or tool for that, or
do I simply edit "/etc/systemd/journald.conf" using my favorite
editor (vi)?
Third question:
My impression is that approach B is only a temporary fix;
"/var/log/journal/" would eventually get huge again. Am I
correct?
thanks,
Bill.