added log level configuration

This commit is contained in:
Sabine Laszakovits 2021-01-02 00:55:55 +01:00
parent ffb837d4bc
commit 89f7f3c3b8
2 changed files with 5 additions and 3 deletions

View File

@ -28,7 +28,7 @@ matrix_mautrix_signal_container_extra_arguments: []
# List of systemd services that matrix-mautrix-signal.service depends on.
# TODO: unclear whether to put this into group_vars or keep it here
matrix_mautrix_signal_systemd_required_services_list:
matrix_mautrix_signal_systemd_required_services_list:
- 'docker.service'
- 'matrix-mautrix-signal-daemon.service'
@ -95,3 +95,5 @@ matrix_mautrix_signal_configuration: "{{ matrix_mautrix_signal_configuration_yam
matrix_mautrix_signal_registration_yaml: "{{ lookup('template', 'templates/registration.yaml.j2') }}"
matrix_mautrix_signal_registration: "{{ matrix_mautrix_signal_registration_yaml|from_yaml }}"
matrix_mautrix_signal_log_level: 'DEBUG'

View File

@ -197,9 +197,9 @@ logging:
formatter: colored
loggers:
mau:
level: DEBUG
level: {{ matrix_mautrix_signal_log_level }}
aiohttp:
level: INFO
root:
level: DEBUG
level: {{ matrix_mautrix_signal_log_level }}
handlers: [file, console]