From 9f7890fabe58ba953da23d1b031261e7ca0a1ca3 Mon Sep 17 00:00:00 2001 From: Thomas Dalichow Date: Fri, 7 Sep 2018 14:46:29 +0200 Subject: [PATCH] fbb-api - rotate rabbitmq logs according to policy --- customer/fbb-api/common.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/customer/fbb-api/common.yaml b/customer/fbb-api/common.yaml index 9f86656c..864c4fce 100644 --- a/customer/fbb-api/common.yaml +++ b/customer/fbb-api/common.yaml @@ -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 -- 2.39.5