From d92a9fd9a774de7e4b099127fe5643943ec83998 Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Mon, 24 Jan 2022 18:30:23 +0000 Subject: [PATCH 1/2] Log modules at startup --- synapse/app/_base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/synapse/app/_base.py b/synapse/app/_base.py index e5ee03b79ff9..9efdd071cce3 100644 --- a/synapse/app/_base.py +++ b/synapse/app/_base.py @@ -435,7 +435,8 @@ def run_sighup(*args: Any, **kwargs: Any) -> 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) From db0d2c4cefab9872c4f761454a280b475554d968 Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Mon, 24 Jan 2022 18:32:34 +0000 Subject: [PATCH 2/2] Changelog --- changelog.d/11813.misc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/11813.misc diff --git a/changelog.d/11813.misc b/changelog.d/11813.misc new file mode 100644 index 000000000000..f90d183b45cb --- /dev/null +++ b/changelog.d/11813.misc @@ -0,0 +1 @@ +Log module names at startup.