Merge pull request #1911 from ThellraAK/try4

Adding logging configuration and default to the rest of the mautrixes…
This commit is contained in:
Slavi Pantaleev 2022-07-01 15:15:16 +03:00 committed by GitHub
commit 0840068a83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 42 additions and 24 deletions

View file

@ -78,6 +78,9 @@ matrix_mautrix_googlechat_login_shared_secret: ''
matrix_mautrix_googlechat_appservice_bot_username: googlechatbot
# Specifies the default log level for all bridge loggers.
matrix_mautrix_googlechat_logging_level: WARNING
# Default configuration template which covers the generic use case.
# You can customize it by controlling the various variables inside it.
#

View file

@ -141,11 +141,11 @@ logging:
formatter: colored
loggers:
mau:
level: WARNING
level: {{ matrix_mautrix_googlechat_logging_level|to_json }}
hangups:
level: WARNING
level: {{ matrix_mautrix_googlechat_logging_level|to_json }}
aiohttp:
level: WARNING
level: {{ matrix_mautrix_googlechat_logging_level|to_json }}
root:
level: WARNING
level: {{ matrix_mautrix_googlechat_logging_level|to_json }}
handlers: [console]

View file

@ -75,6 +75,9 @@ matrix_mautrix_hangouts_login_shared_secret: ''
matrix_mautrix_hangouts_appservice_bot_username: hangoutsbot
# Specifies the default log level for all bridge loggers.
matrix_mautrix_hangouts_logging_level: WARNING
# Default configuration template which covers the generic use case.
# You can customize it by controlling the various variables inside it.
#

View file

@ -138,11 +138,11 @@ logging:
formatter: colored
loggers:
mau:
level: WARNING
level: {{ matrix_mautrix_hangouts_logging_level|to_json }}
hangups:
level: WARNING
level: {{ matrix_mautrix_hangouts_logging_level|to_json }}
aiohttp:
level: WARNING
level: {{ matrix_mautrix_hangouts_logging_level|to_json }}
root:
level: WARNING
level: {{ matrix_mautrix_hangouts_logging_level|to_json }}
handlers: [console]

View file

@ -68,6 +68,9 @@ matrix_mautrix_instagram_appservice_bot_username: instagrambot
matrix_mautrix_instagram_bridge_presence: true
# Specifies the default log level for all bridge loggers.
matrix_mautrix_instagram_logging_level: WARNING
# Default configuration template which covers the generic use case.
# You can customize it by controlling the various variables inside it.
#

View file

@ -135,7 +135,7 @@ bridge:
# Whether or not the bridge should backfill chats when reconnecting.
resync: true
# Should even disconnected users be reconnected?
always: false
always: false
# End-to-bridge encryption support options. These require matrix-nio to be installed with pip
# and login_shared_secret to be configured in order to get a device for the bridge bot.
#
@ -219,13 +219,13 @@ logging:
formatter: colored
loggers:
mau:
level: WARNING
level: {{ matrix_mautrix_instagram_logging_level|to_json }}
mauigpapi:
level: WARNING
level: {{ matrix_mautrix_instagram_logging_level|to_json }}
paho:
level: WARNING
level: {{ matrix_mautrix_instagram_logging_level|to_json }}
aiohttp:
level: WARNING
level: {{ matrix_mautrix_instagram_logging_level|to_json }}
root:
level: WARNING
level: {{ matrix_mautrix_instagram_logging_level|to_json }}
handlers: [console]

View file

@ -57,6 +57,9 @@ matrix_mautrix_signal_homeserver_token: ''
matrix_mautrix_signal_appservice_bot_username: signalbot
# Specifies the default log level for all bridge loggers.
matrix_mautrix_signal_logging_level: WARNING
# Whether or not created rooms should have federation enabled.
# If false, created portal rooms will never be federated.
matrix_mautrix_signal_federate_rooms: true

View file

@ -266,9 +266,9 @@ logging:
formatter: colored
loggers:
mau:
level: WARNING
level: {{ matrix_mautrix_signal_logging_level|to_json }}
aiohttp:
level: WARNING
level: {{ matrix_mautrix_signal_logging_level|to_json }}
root:
level: WARNING
level: {{ matrix_mautrix_signal_logging_level|to_json }}
handlers: [console]

View file

@ -43,6 +43,9 @@ matrix_mautrix_telegram_appservice_public_external: 'https://{{ matrix_server_fq
matrix_mautrix_telegram_appservice_bot_username: telegrambot
# Specifies the default log level for all bridge loggers.
matrix_mautrix_telegram_logging_level: WARNING
# Whether or not created rooms should have federation enabled.
# If false, created portal rooms will never be federated.
matrix_mautrix_telegram_federate_rooms: true

View file

@ -404,11 +404,11 @@ logging:
formatter: precise
loggers:
mau:
level: WARNING
level: {{ matrix_mautrix_telegram_logging_level|to_json }}
telethon:
level: WARNING
level: {{ matrix_mautrix_telegram_logging_level|to_json }}
aiohttp:
level: WARNING
level: {{ matrix_mautrix_telegram_logging_level|to_json }}
root:
level: WARNING
level: {{ matrix_mautrix_telegram_logging_level|to_json }}
handlers: [console]

View file

@ -66,6 +66,9 @@ matrix_mautrix_twitter_bridge_login_shared_secret_map: "{{ {matrix_mautrix_twitt
matrix_mautrix_twitter_appservice_bot_username: twitterbot
# Specifies the default log level for all bridge loggers.
matrix_mautrix_twitter_logging_level: WARNING
# Default configuration template which covers the generic use case.
# You can customize it by controlling the various variables inside it.
#

View file

@ -198,9 +198,9 @@ logging:
formatter: colored
loggers:
mau:
level: WARNING
level: {{ matrix_mautrix_twitter_logging_level|to_json }}
aiohttp:
level: WARNING
level: {{ matrix_mautrix_twitter_logging_level|to_json }}
root:
level: WARNING
level: {{ matrix_mautrix_twitter_logging_level|to_json }}
handlers: [console]