Make maubot logging level configurable

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1894
development
Slavi Pantaleev 2 years ago
parent b575409ed7
commit 5ce2732899

@ -57,6 +57,9 @@ matrix_bot_maubot_management_interface_http_bind_port: ''
matrix_bot_maubot_port: 29316 matrix_bot_maubot_port: 29316
matrix_bot_maubot_unshared_secret: 'generate' matrix_bot_maubot_unshared_secret: 'generate'
# Specifies the default log level for all bot loggers.
matrix_bot_maubot_logging_level: WARNING
# A list of extra arguments to pass to the container # A list of extra arguments to pass to the container
matrix_bot_maubot_container_extra_arguments: [] matrix_bot_maubot_container_extra_arguments: []

@ -97,11 +97,11 @@ logging:
formatter: colored formatter: colored
loggers: loggers:
maubot: maubot:
level: DEBUG level: {{ matrix_bot_maubot_logging_level|to_json }}
mau: mau:
level: DEBUG level: {{ matrix_bot_maubot_logging_level|to_json }}
aiohttp: aiohttp:
level: INFO level: {{ matrix_bot_maubot_logging_level|to_json }}
root: root:
level: DEBUG level: {{ matrix_bot_maubot_logging_level|to_json }}
handlers: [console] handlers: [console]

Loading…
Cancel
Save