f17f2ee235
The log file `/var/log/containers/rabbitmq/log/crash.log` is currently being rotated by both the lager logging framework and the logrotate_crond container. This will give us logs like: $ ll /var/log/containers/rabbitmq/log/ total 4 -rw-r-----. 1 42439 42439 0 Aug 26 00:00 crash.log -rw-r-----. 1 42439 42439 0 Aug 25 00:00 crash.log.0 -rw-r-----. 1 42439 42439 0 Aug 24 00:01 crash.log.1 -rw-r-----. 1 42439 42439 0 Aug 23 00:01 crash.log.2 -rw-r-----. 1 42439 42439 20 Aug 25 00:00 crash.log-20200825.gz -rw-r-----. 1 42439 42439 0 Aug 26 00:00 crash.log-20200826 -rw-r-----. 1 42439 42439 0 Aug 22 00:00 crash.log.3 -rw-r-----. 1 42439 42439 0 Aug 21 00:01 crash.log.4 We need to disable the lager rotation and let logrotate do its job. Tested by applying the patch and confirming, after some days, that there is no double-rotation taking place. NB: Patch context conflicts Closes-Bug: #1941698 Change-Id: Ibfef67aac7730accbffbb3973b9087dfd15dcef4 (cherry picked from commit |
||
---|---|---|
.. | ||
rabbitmq-container-puppet.yaml | ||
rabbitmq-messaging-notify-container-puppet.yaml | ||
rabbitmq-messaging-notify-pacemaker-puppet.yaml | ||
rabbitmq-messaging-notify-shared-puppet.yaml | ||
rabbitmq-messaging-pacemaker-puppet.yaml | ||
rabbitmq-messaging-rpc-container-puppet.yaml | ||
rabbitmq-messaging-rpc-pacemaker-puppet.yaml |