Use journald logging for RabbitMQ

Since RabbitMQ 3.9 [1] journald logging support has been implemented

As we use journald logging for most of the services and aim to make it
a standard, switching rabbitmq to journald follows this goal and
deployment unification

[1] https://github.com/rabbitmq/rabbitmq-server/pull/2940

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-rabbitmq_server/+/826446/
Change-Id: I86462f8279ebb5dc28e92fc8440cc0ab26f0759d
This commit is contained in:
Dmitriy Rabotyagov 2022-01-25 19:40:09 +02:00
parent e707eecdd8
commit a31f2e20f4
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,9 @@
collect_statistics_interval = {{ rabbitmq_collect_statistics_interval }}
log.journald = true
log.file = false
{% for key, value in rabbitmq_port_bindings.items() %}
{% if 'tcp' in key %}
{% set _opt = 'tcp' %}