On 14 Jun 2023 19:30, Tom Browder wrote:
I’ve been running httpd for many years, long before systemd came along. Somewhere in the various upgrades over the years I lost the old rotating logs. Now I would like to initiate the rotating logs again. Can I do that with systemd somehow?
Isn't that the job of "logrotate" ? Maybe it's related to the rsyslog changes ?From bullseye on, the package "rsyslog" is not mandatory anymore, and from bookworm, it's not even installed by default, but not disabled.
You don't tell which Debian version you're using rn, but if bookworm, there is some info in bookworm release notes about rsyslog :
5.1.7 https://www.debian.org/releases/stable/amd64/release-notes/ch-information.en.html#changes-to-system-logging 5.1.9 https://www.debian.org/releases/stable/amd64/release-notes/ch-information.en.html#rsyslog-creates-fewer-logfiles And maybe 5.1.8 : https://www.debian.org/releases/stable/amd64/release-notes/ch-information.en.html#rsyslog-timestamp-change-affects-logcheck