I now set up a new PMG with Debian 11. I recognized, that/var/log/journal is increasing from day to day. It looks like no rotation or limit at all. Is this typical? Is there any solution? About 11 days running I have on a low volume system now 1.1G
systemctl restart systemd-journald
.Yes - this has been that way since the past 8-9 years - the journal logs everything, and is also the first user of /dev/log (where the syslog calls write to) - it then relays the messages to syslog if configured that way.It seems like everything, which is (also?) logged elsewhere is logged here: Mailflow (smtpd), OpenVPN (which I set up), UFW (which I set up), ...
that change was about enabling the persistent journal per default - did you have that in your old installation?Looks like this change seems to be newer than 8-9 years: https://www.heise.de/newsticker/mel...as-Logging-in-Debian-uebernehmen-4655857.html
That should work fine - as long as /var/log/syslog contains logs from the mail-facility the tracking center should work. If I would set as above a limit on journald, will the tracking center still work as the syslog itself after relaying is handled separate, e.g. by logrotate or will it break something?
no official recommendation - I personally would store the logs for as long as its permitted - since it can always help in finding an issue later on.Before changing here anything, what are the Proxmox recommendations on this?
Not quite sure what you mean here - /var/log/journal is not present on a fresh installation ?And no, the recent installation seems not to have a journal log.