PATCH: add command line option to rotate empty logs

From: Martin Castillo <>
Date: Fri Nov 15 15:03:35 2019


I saw someone [1] having problems with svlogd, when the logging
application produces no output for a longer time.

The admin wants to conform to GDPR, so he might have a config like:


However, since empty files are not rotated, there will be logs older
than 30 days, if there is no new output for longer than a day.

I made a quick patch. Comments are welcome.

Martin Castillo

GPG: 7FDE 7190 2F73 2C50 236E  403D CC13 48F1 E644 08EC

Received on Fri Nov 15 2019 - 15:03:35 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC