Log modules at startup (#11813)

anoa/deprecate_no_device_access_tokens
Brendan Abolivier 2022-01-25 14:35:35 +00:00 committed by GitHub
parent b59d285f7c
commit 1d5f7b2cc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

1
changelog.d/11813.misc Normal file
View File

@ -0,0 +1 @@
Log module names at startup.

View File

@ -435,7 +435,8 @@ async def start(hs: "HomeServer") -> None:
# before we start the listeners.
module_api = hs.get_module_api()
for module, config in hs.config.modules.loaded_modules:
module(config=config, api=module_api)
m = module(config=config, api=module_api)
logger.info("Loaded module %s", m)
load_legacy_spam_checkers(hs)
load_legacy_third_party_event_rules(hs)