Add the abillity to configure the logging options
Add the ability to configure the logging options for the rabbitmq-server via the rabbitmq_log variable and key-value pairs Change-Id: If9f28f29311150ed7b8ba61d2ddf7e12ca07d3c4
This commit is contained in:
parent
83d8ec2a30
commit
d10da56560
@ -250,6 +250,11 @@ rabbitmq_hipe_compile: False
|
|||||||
# Disable non-TLS listeners
|
# Disable non-TLS listeners
|
||||||
rabbitmq_disable_non_tls_listeners: False
|
rabbitmq_disable_non_tls_listeners: False
|
||||||
|
|
||||||
|
# RabbitMQ logging options
|
||||||
|
# See https://www.rabbitmq.com/logging.html for the logging options
|
||||||
|
rabbitmq_log:
|
||||||
|
journald: True
|
||||||
|
file: False
|
||||||
|
|
||||||
# RabbitMQ policies
|
# RabbitMQ policies
|
||||||
# Used to tune performance characteristics of OpenStack messaging
|
# Used to tune performance characteristics of OpenStack messaging
|
||||||
|
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Add the abbility to configure the logging options with the variable
|
||||||
|
``rabbitmq_log`` of the rabbitmq-server using key-value pairs. The
|
||||||
|
default values for journald (true) and file (false) are keept but
|
||||||
|
more options (see https://www.rabbitmq.com/logging.html) can be
|
||||||
|
configured now.
|
@ -1,8 +1,14 @@
|
|||||||
|
|
||||||
collect_statistics_interval = {{ rabbitmq_collect_statistics_interval }}
|
collect_statistics_interval = {{ rabbitmq_collect_statistics_interval }}
|
||||||
|
|
||||||
log.journald = true
|
{% for key, value in rabbitmq_log.items() %}
|
||||||
log.file = false
|
{% if value is boolean %}
|
||||||
|
log.{{ key }} = {{ value | lower }}
|
||||||
|
{% else %}
|
||||||
|
log.{{ key }} = {{ value }}
|
||||||
|
{% endif%}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
heartbeat = 640
|
heartbeat = 640
|
||||||
ssl_handshake_timeout = 20000
|
ssl_handshake_timeout = 20000
|
||||||
handshake_timeout = 40000
|
handshake_timeout = 40000
|
||||||
|
Loading…
Reference in New Issue
Block a user