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 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. # Default configuration template which covers the generic use case.
# You can customize it by controlling the various variables inside it. # You can customize it by controlling the various variables inside it.
# #

View File

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

View File

@ -75,6 +75,9 @@ matrix_mautrix_hangouts_login_shared_secret: ''
matrix_mautrix_hangouts_appservice_bot_username: hangoutsbot 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. # Default configuration template which covers the generic use case.
# You can customize it by controlling the various variables inside it. # You can customize it by controlling the various variables inside it.
# #

View File

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

View File

@ -68,6 +68,9 @@ matrix_mautrix_instagram_appservice_bot_username: instagrambot
matrix_mautrix_instagram_bridge_presence: true 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. # Default configuration template which covers the generic use case.
# You can customize it by controlling the various variables inside it. # You can customize it by controlling the various variables inside it.
# #

View File

@ -219,13 +219,13 @@ logging:
formatter: colored formatter: colored
loggers: loggers:
mau: mau:
level: WARNING level: {{ matrix_mautrix_instagram_logging_level|to_json }}
mauigpapi: mauigpapi:
level: WARNING level: {{ matrix_mautrix_instagram_logging_level|to_json }}
paho: paho:
level: WARNING level: {{ matrix_mautrix_instagram_logging_level|to_json }}
aiohttp: aiohttp:
level: WARNING level: {{ matrix_mautrix_instagram_logging_level|to_json }}
root: root:
level: WARNING level: {{ matrix_mautrix_instagram_logging_level|to_json }}
handlers: [console] handlers: [console]

View File

@ -57,6 +57,9 @@ matrix_mautrix_signal_homeserver_token: ''
matrix_mautrix_signal_appservice_bot_username: signalbot 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. # Whether or not created rooms should have federation enabled.
# If false, created portal rooms will never be federated. # If false, created portal rooms will never be federated.
matrix_mautrix_signal_federate_rooms: true matrix_mautrix_signal_federate_rooms: true

View File

@ -266,9 +266,9 @@ logging:
formatter: colored formatter: colored
loggers: loggers:
mau: mau:
level: WARNING level: {{ matrix_mautrix_signal_logging_level|to_json }}
aiohttp: aiohttp:
level: WARNING level: {{ matrix_mautrix_signal_logging_level|to_json }}
root: root:
level: WARNING level: {{ matrix_mautrix_signal_logging_level|to_json }}
handlers: [console] 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 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. # Whether or not created rooms should have federation enabled.
# If false, created portal rooms will never be federated. # If false, created portal rooms will never be federated.
matrix_mautrix_telegram_federate_rooms: true matrix_mautrix_telegram_federate_rooms: true

View File

@ -404,11 +404,11 @@ logging:
formatter: precise formatter: precise
loggers: loggers:
mau: mau:
level: WARNING level: {{ matrix_mautrix_telegram_logging_level|to_json }}
telethon: telethon:
level: WARNING level: {{ matrix_mautrix_telegram_logging_level|to_json }}
aiohttp: aiohttp:
level: WARNING level: {{ matrix_mautrix_telegram_logging_level|to_json }}
root: root:
level: WARNING level: {{ matrix_mautrix_telegram_logging_level|to_json }}
handlers: [console] 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 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. # Default configuration template which covers the generic use case.
# You can customize it by controlling the various variables inside it. # You can customize it by controlling the various variables inside it.
# #

View File

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