PATCH: add command line option to rotate empty logs

From: Martin Castillo <castilma_at_uni-bremen.de>
Date: Fri Nov 15 15:03:35 2019

Hey,

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:

t86400
n30

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

[1]: https://gitlab.com/gitlab-org/omnibus-gitlab/issues/4663
-- 
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