On 2020-01-19 01:15, Steffen Nurpmeso wrote:
Steffen Nurpmeso wrote in <20200118202648.J5Qup%steffen@sdaoden.eu>: |Fredrik wrote in <7978be63-dacf-9015-dac0-93efcf695261@rinnestam.se>: ||On 2020-01-17 23:05, Steffen Nurpmeso wrote: ||> Steffen Nurpmeso wrote in <20200117215549.vY3WG%steffen@sdaoden.eu>: ... ||>|Wonderful new BSD-style syslogd with builtin log rotation support! ||>|It makes available remote logging by default though, which is why ||>|on FreeBSD the options -s (or even -ss) are recommendet. ... |Despite what is still missing for me is a hook that gets called |when files actually get rotated. On the VM, which still does not ... |So i wrote the patch as attached. It seems to fix a syslog.conf |option parsing bug, too. I'll mail him that in a second. I now
So, and that bugfix was incomplete/wrong. Please find attached a diff which fixes that correctly. Otherwise unchanged.
|And seems to work great! :)
That i how i like logging for sure. Auto-rotation, compression of elder rotated logs, and a hook which informs rotation happened. Happy.
--steffen
Agreed - I like it too! For now i've implemented your suggestion to not listen for network connections by default. Have you tried getting the rotation stuff implemented upstream? /f