On 10/20/19 8:32 PM, home user wrote:
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)?
As soon as you restart journald, it will automatically clean the logs to
fit the new settings.
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)?
No gui, it's just a text file.
Third question:
My impression is that approach B is only a temporary fix;
"/var/log/journal/" would eventually get huge again. Am I correct?
Yes.