mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-25 21:39:26 -05:00
Log modules at startup (#11813)
This commit is contained in:
parent
b59d285f7c
commit
1d5f7b2cc6
1
changelog.d/11813.misc
Normal file
1
changelog.d/11813.misc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Log module names at startup.
|
@ -435,7 +435,8 @@ async def start(hs: "HomeServer") -> None:
|
|||||||
# before we start the listeners.
|
# before we start the listeners.
|
||||||
module_api = hs.get_module_api()
|
module_api = hs.get_module_api()
|
||||||
for module, config in hs.config.modules.loaded_modules:
|
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_spam_checkers(hs)
|
||||||
load_legacy_third_party_event_rules(hs)
|
load_legacy_third_party_event_rules(hs)
|
||||||
|
Loading…
Reference in New Issue
Block a user