]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
logrotate for fbb-api.log
authorSascha <sascha.strassheim@pixelpark.com>
Tue, 31 Jul 2018 14:01:26 +0000 (16:01 +0200)
committerSascha <sascha.strassheim@pixelpark.com>
Tue, 31 Jul 2018 14:01:26 +0000 (16:01 +0200)
customer/fbb-api/common.yaml

index 4118325e7c60451b9a5ebe9868836429d5dc7ea7..45249c2b9df8cf0cd8741a981141809d84b3c6a4 100644 (file)
@@ -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