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

Commit

Permalink
Log modules at startup (#11813)
Browse files Browse the repository at this point in the history
  • Loading branch information
babolivier authored Jan 25, 2022
1 parent b59d285 commit 1d5f7b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
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

0 comments on commit 1d5f7b2

Please sign in to comment.