From 00c0577187b49e2e633eedc9828ed2a009bcce57 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 20 Feb 2013 16:38:15 +0100 Subject: [PATCH] Do not keep a year full of samhain logs, only 2 weeks. And use dateext --- modules/samhain/templates/logrotate.d-samhain | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/modules/samhain/templates/logrotate.d-samhain b/modules/samhain/templates/logrotate.d-samhain index 025611e3f..fd33d1351 100644 --- a/modules/samhain/templates/logrotate.d-samhain +++ b/modules/samhain/templates/logrotate.d-samhain @@ -1,7 +1,13 @@ +## +## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE. +## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git +## + /var/log/samhain/*.log { - weekly + daily missingok - rotate 52 + rotate 14 + dateext compress delaycompress notifempty -- 2.20.1