From c277b2301e1737fda2563b198f55d420408d0f82 Mon Sep 17 00:00:00 2001 From: Sascha Date: Tue, 31 Jul 2018 16:01:26 +0200 Subject: [PATCH] logrotate for fbb-api.log --- customer/fbb-api/common.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/customer/fbb-api/common.yaml b/customer/fbb-api/common.yaml index 4118325e..45249c2b 100644 --- a/customer/fbb-api/common.yaml +++ b/customer/fbb-api/common.yaml @@ -11,3 +11,14 @@ infra::profile::postfix::cert_servername: 'wildcard.pixelpark.net' logstash::install_plugins: false +infra::profile::logrotate::rules: + fbb-api: + path: + - '/var/log/fbb-api/fbb-api.log' + dateformat: '-%Y-%m-%d' + rotate: 7 + rotate_every: 'day' + nocompress: true + missingok: false + create: true + ifempty: false -- 2.39.5