summary refs log tree commit diff
path: root/synapse/app
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-06-20 15:33:14 +0100
committerRichard van der Hoff <richard@matrix.org>2018-06-20 15:33:14 +0100
commit245d53d32a6a98081ba8bf7f7214c8f869e353db (patch)
treeb531720fb753ee0ac02d02af5daaf0da0067de6d /synapse/app
parentspell gauge correctly (diff)
downloadsynapse-245d53d32a6a98081ba8bf7f7214c8f869e353db.tar.xz
Write a clear restart indicator in logs
I'm fed up with never being able to find the point a server restarted in the
logs.
Diffstat (limited to 'synapse/app')
-rwxr-xr-xsynapse/app/homeserver.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py
index f855925fc8..ae5fc751d5 100755
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -318,11 +318,6 @@ def setup(config_options):
     # check any extra requirements we have now we have a config
     check_requirements(config)
 
-    version_string = "Synapse/" + get_version_string(synapse)
-
-    logger.info("Server hostname: %s", config.server_name)
-    logger.info("Server version: %s", version_string)
-
     events.USE_FROZEN_DICTS = config.use_frozen_dicts
 
     tls_server_context_factory = context_factory.ServerContextFactory(config)
@@ -335,7 +330,7 @@ def setup(config_options):
         db_config=config.database_config,
         tls_server_context_factory=tls_server_context_factory,
         config=config,
-        version_string=version_string,
+        version_string="Synapse/" + get_version_string(synapse),
         database_engine=database_engine,
     )