Add a maximum file size parameter

Sometimes there are a few noisy machines generating 100GB+ per day,
filling up the disk and preventing logrotate from cleaning things up.
Manual intervention is required and several hours or days of logs are
lost - depending on how timely the humans respond.

Having a fixed limit of 1GB or some other reasonable value ensures we
lose logs from the noisy machines, but not from the well-behaving ones
due to full disk.

Signed-off-by: Joern Engel <>
1 file changed