From f558b0c5d7bafec0d2c4a32b46c93cbd4eae6a8d Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 19 Nov 2019 06:34:56 +0100 Subject: [PATCH] daily autocommit --- logrotate.conf | 6 ++++++ logrotate.d/fail2ban | 1 + 2 files changed, 7 insertions(+) diff --git a/logrotate.conf b/logrotate.conf index 9387043..9634d7b 100644 --- a/logrotate.conf +++ b/logrotate.conf @@ -5,9 +5,15 @@ weekly # keep 4 weeks worth of backlogs rotate 99 +missingok +notifempty + # create new (empty) log files after rotating old ones create +dateext +dateformat -%Y-%m-%d + # uncomment this if you want your log files compressed compress delaycompress diff --git a/logrotate.d/fail2ban b/logrotate.d/fail2ban index ea46428..9556daf 100644 --- a/logrotate.d/fail2ban +++ b/logrotate.d/fail2ban @@ -3,6 +3,7 @@ weekly rotate 4 compress + minsize 4M delaycompress missingok -- 2.39.5