:: Re: [DNG] Log rotation keeps rotate…
Inizio della pagina
Delete this message
Reply to this message
Autore: Dan Purgert
Data:  
To: dng
Oggetto: Re: [DNG] Log rotation keeps rotated file open
On May 21, 2024, kc-devuan@??? wrote:
> Hi,
>
> I have a new install of devuan daedalus.
>
> I have noticed that auth.log.1 kern.log.1 etc. have been rotated and
> kern.log, auth.log are empty files with logging continuing to be
> written to the .1 files?


Check the configuration, as I recall those should have a postrotate
script (/usr/lib/rsyslog/rsyslog-rotate) running to restart syslog.

Config is /etc/logrotate.d/rsyslog here (pulled forward from Chimaera).

--
|_|O|_|
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860