Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 1d5f7b2

Browse files
authored
Log modules at startup (#11813)
1 parent b59d285 commit 1d5f7b2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

changelog.d/11813.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Log module names at startup.

synapse/app/_base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,8 @@ def run_sighup(*args: Any, **kwargs: Any) -> None:
435435
# before we start the listeners.
436436
module_api = hs.get_module_api()
437437
for module, config in hs.config.modules.loaded_modules:
438-
module(config=config, api=module_api)
438+
m = module(config=config, api=module_api)
439+
logger.info("Loaded module %s", m)
439440

440441
load_legacy_spam_checkers(hs)
441442
load_legacy_third_party_event_rules(hs)

0 commit comments

Comments
 (0)