1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2024-12-12 08:43:55 +02:00

Make maubot logging level configurable

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1894
This commit is contained in:
Slavi Pantaleev 2022-07-20 13:03:50 +03:00
parent b575409ed7
commit 5ce2732899
2 changed files with 7 additions and 4 deletions

View File

@ -57,6 +57,9 @@ matrix_bot_maubot_management_interface_http_bind_port: ''
matrix_bot_maubot_port: 29316
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
matrix_bot_maubot_container_extra_arguments: []

View File

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