diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2022-01-25 14:35:35 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-25 15:35:35 +0100 |
commit | 1d5f7b2cc622a6ed91b9bf5b61c1c243b015c495 (patch) | |
tree | d06d3d24470120ea4017a476de14fa1acb41e347 | |
parent | Db txn set isolation level (#11799) (diff) | |
download | synapse-1d5f7b2cc622a6ed91b9bf5b61c1c243b015c495.tar.xz |
Log modules at startup (#11813)
-rw-r--r-- | changelog.d/11813.misc | 1 | ||||
-rw-r--r-- | synapse/app/_base.py | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/changelog.d/11813.misc b/changelog.d/11813.misc new file mode 100644 index 0000000000..f90d183b45 --- /dev/null +++ b/changelog.d/11813.misc @@ -0,0 +1 @@ +Log module names at startup. diff --git a/synapse/app/_base.py b/synapse/app/_base.py index e5ee03b79f..9efdd071cc 100644 --- a/synapse/app/_base.py +++ b/synapse/app/_base.py @@ -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) |