Adding logging variable for facebook and setting it's default (#1909)

Co-authored-by: ThellraAK <ThellraAK@pop-os.localdomain>
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
This commit is contained in:
ThellraAK 2022-07-01 03:22:02 -08:00 committed by GitHub
parent 1c25ca78d4
commit 06e51b06f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View File

@ -128,3 +128,6 @@ matrix_mautrix_facebook_registration_yaml: |
de.sorunome.msc2409.push_ephemeral: true
matrix_mautrix_facebook_registration: "{{ matrix_mautrix_facebook_registration_yaml|from_yaml }}"
# Specifies the default log level for all bridge loggers.
matrix_mautrix_facebook_logging_level: DEBUG

View File

@ -253,11 +253,11 @@ logging:
formatter: colored
loggers:
mau:
level: WARNING
level: {{ matrix_mautrix_facebook_logging_level|to_json }}
paho:
level: WARNING
level: {{ matrix_mautrix_facebook_logging_level|to_json }}
aiohttp:
level: WARNING
level: {{ matrix_mautrix_facebook_logging_level|to_json }}
root:
level: WARNING
level: {{ matrix_mautrix_facebook_logging_level|to_json }}
handlers: [console]