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

Log modules at startup #11813

Merged
merged 3 commits into from
Jan 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/11813.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Log module names at startup.
3 changes: 2 additions & 1 deletion synapse/app/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down