Per Jessen wrote:
Andrei Borzenkov wrote:
On Mon, Apr 24, 2023 at 12:21 PM Per Jessen <per@opensuse.org> wrote:
To be honest, I didn't test them :-) I do this modification on every new install, hopefully I know it by now.
Then how do you know that your changes did not work?
I specify a daily rotation, and there wasn't one :-)
And do not forget that /etc/logrotate.d/syslog will completely replace /usr/etc/logrotate.d/syslog with all that is defined there.
Yes, that surprised me. I'll have to do some more testing.
FWIW, it isn't possible to override individual rotations - logrotate complains about duplicate definitions. So it means copy original to /etc/logrotate.d and then modify. Fair enough. -- Per Jessen, Zürich (13.4°C) Member, openSUSE Heroes (2016 - present) We're hiring - https://en.opensuse.org/openSUSE:Heroes