]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
fbb-api - rotate rabbitmq logs according to policy
authorThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Fri, 7 Sep 2018 12:46:29 +0000 (14:46 +0200)
committerThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Fri, 7 Sep 2018 12:46:29 +0000 (14:46 +0200)
customer/fbb-api/common.yaml

index 9f86656c903f2bbc19ce562d81971891eb4ff4cd..864c4fce7581f960c4e8dc76d1d9a4c002430612 100644 (file)
@@ -21,3 +21,12 @@ infra::profile::logrotate::rules:
     missingok: true
     create: true
     ifempty: false
+  rabbitmq-server:
+    path:
+      - '/var/log/rabbitmq/*.log'
+    dateformat: '-%Y-%m-%d'
+    rotate: 7
+    rotate_every: 'day'
+    missingok: true
+    create: true
+    ifempty: false