summary refs log tree commit diff
path: root/synapse/config
diff options
context:
space:
mode:
authorQuentin Gliech <quenting@element.io>2022-10-07 16:19:59 +0200
committerGitHub <noreply@github.com>2022-10-07 15:19:59 +0100
commitdc37b68a25754240243cdca6f521919abfe71db0 (patch)
tree2bae5d327e8c2704195fdd271abaa56057f22ff2 /synapse/config
parentBump phonenumbers from 8.12.44 to 8.12.56 (#14043) (diff)
downloadsynapse-dc37b68a25754240243cdca6f521919abfe71db0.tar.xz
Parse SYNAPSE_ASYNC_IO_REACTOR env variable & log the reactor on startup (#14092)
Diffstat (limited to 'synapse/config')
-rw-r--r--synapse/config/logger.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/config/logger.py b/synapse/config/logger.py
index 6c1f78f8df..b62b3b9205 100644
--- a/synapse/config/logger.py
+++ b/synapse/config/logger.py
@@ -326,6 +326,8 @@ def setup_logging(
         logBeginner: The Twisted logBeginner to use.
 
     """
+    from twisted.internet import reactor
+
     log_config_path = (
         config.worker.worker_log_config
         if use_worker_options
@@ -348,3 +350,4 @@ def setup_logging(
     )
     logging.info("Server hostname: %s", config.server.server_name)
     logging.info("Instance name: %s", hs.get_instance_name())
+    logging.info("Twisted reactor: %s", type(reactor).__name__)