Make linkedin logging level configurable

This commit is contained in:
Slavi Pantaleev 2022-07-25 15:38:55 +03:00
parent 9e65ba3298
commit b2f47fcfcd
2 changed files with 8 additions and 5 deletions

View File

@ -72,6 +72,9 @@ matrix_beeper_linkedin_appservice_database_uri: "{{
# Can be set to enable automatic double-puppeting via Shared Secret Auth (https://github.com/devture/matrix-synapse-shared-secret-auth).
matrix_beeper_linkedin_login_shared_secret: ''
# Specifies the default log level for all bridge loggers.
matrix_beeper_linkedin_logging_level: WARNING
# Default beeper-linkedin configuration template which covers the generic use case.
# You can customize it by controlling the various variables inside it.
#

View File

@ -259,12 +259,12 @@ logging:
formatter: colored
loggers:
mau:
level: WARNING
level: {{ matrix_beeper_linkedin_logging_level|to_json }}
paho:
level: WARNING
level: {{ matrix_beeper_linkedin_logging_level|to_json }}
aiohttp:
level: WARNING
level: {{ matrix_beeper_linkedin_logging_level|to_json }}
root:
level: WARNING
handlers: [ console]
level: {{ matrix_beeper_linkedin_logging_level|to_json }}
handlers: [console]