From: Sascha Date: Tue, 31 Jul 2018 14:01:26 +0000 (+0200) Subject: logrotate for fbb-api.log X-Git-Tag: v0.1.0~481^2~2^2 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=c277b2301e1737fda2563b198f55d420408d0f82;p=pixelpark%2Fhiera.git logrotate for fbb-api.log --- 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