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

Add matrix_synapse_additional_loggers_auto and matrix_synapse_additional_loggers_custom

This commit is contained in:
Slavi Pantaleev 2023-08-30 12:50:47 +03:00
parent 44ee716f54
commit abdb4375db
5 changed files with 11 additions and 9 deletions

View File

@ -438,7 +438,9 @@ matrix_synapse_container_additional_volumes: []
# A list of additional loggers to register in synapse.log.config.
# This list gets populated dynamically based on Synapse extensions that have been enabled.
# Contains definition objects like this: `{"name": "..", "level": "DEBUG"}
matrix_synapse_additional_loggers: []
matrix_synapse_additional_loggers: "{{ matrix_synapse_additional_loggers_auto + matrix_synapse_additional_loggers_custom }}"
matrix_synapse_additional_loggers_auto: []
matrix_synapse_additional_loggers_custom: []
# A list of appservice config files (in-container filesystem paths).
# This list gets populated dynamically based on Synapse extensions that have been enabled.

View File

@ -33,9 +33,9 @@
["--mount type=bind,src={{ matrix_synapse_ext_path }}/matrix_e2ee_filter.py,dst={{ matrix_synapse_in_container_python_packages_path }}/matrix_e2ee_filter.py,ro"]
}}
matrix_synapse_additional_loggers: >
matrix_synapse_additional_loggers_auto: >
{{
matrix_synapse_additional_loggers
matrix_synapse_additional_loggers_auto
+
[{'name': 'matrix_e2ee_filter', 'level': 'INFO'}]
}}

View File

@ -3,9 +3,9 @@
- ansible.builtin.set_fact:
matrix_synapse_password_providers_enabled: true
matrix_synapse_additional_loggers: >
matrix_synapse_additional_loggers_auto: >
{{
matrix_synapse_additional_loggers
matrix_synapse_additional_loggers_auto
+
[{'name': 'ldap_auth_provider', 'level': 'INFO'}]
}}

View File

@ -28,9 +28,9 @@
["--mount type=bind,src={{ matrix_synapse_ext_path }}/rest_auth_provider.py,dst={{ matrix_synapse_in_container_python_packages_path }}/rest_auth_provider.py,ro"]
}}
matrix_synapse_additional_loggers: >
matrix_synapse_additional_loggers_auto: >
{{
matrix_synapse_additional_loggers
matrix_synapse_additional_loggers_auto
+
[{'name': 'rest_auth_provider', 'level': 'INFO'}]
}}

View File

@ -43,9 +43,9 @@
["--mount type=bind,src={{ matrix_synapse_ext_path }}/shared_secret_authenticator.py,dst={{ matrix_synapse_in_container_python_packages_path }}/shared_secret_authenticator.py,ro"]
}}
matrix_synapse_additional_loggers: >
matrix_synapse_additional_loggers_auto: >
{{
matrix_synapse_additional_loggers
matrix_synapse_additional_loggers_auto
+
[{'name': 'shared_secret_authenticator', 'level': 'INFO'}]
}}