Not sure if that helps with the issue, but rsyslog closes and re-opens
all logfiles on HUP.

Rainer

El mié, 19 may 2021 a las 9:45, Vincent Lefevre (<vinc...@vinc17.net>) escribió:
>
> On 2021-05-19 09:16:00 +0200, Harald Dunkel wrote:
> > The fix is difficult. logrotate has to tell rsyslog *which* logfiles
> > have been rotated. Currently rsyslog has to guess. Probably it assumes
> > that all logfiles have been rotated on the very first signal; thats
> > why your workaround (the single block in logrotate.d/rsyslog) works.
>
> rsyslog could decide that all the log files have possibly been rotated
> and reopen all of them.
>
> --
> Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
>

Reply via email to