From: Thomas Dalichow Date: Fri, 7 Sep 2018 12:46:29 +0000 (+0200) Subject: fbb-api - rotate rabbitmq logs according to policy X-Git-Tag: v0.1.0~212 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=9f7890fabe58ba953da23d1b031261e7ca0a1ca3;p=pixelpark%2Fhiera.git fbb-api - rotate rabbitmq logs according to policy --- 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