summary refs log tree commit diff
path: root/synapse/app
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-01-07 17:25:28 +0000
committerErik Johnston <erik@matrix.org>2015-01-07 17:25:28 +0000
commit42507b0011a1285645206f5bd627809a8a6337e2 (patch)
tree9a20b15f5c925241932b65079298bae3e118620d /synapse/app
parentChange error message for missing pillow libs. (diff)
downloadsynapse-42507b0011a1285645206f5bd627809a8a6337e2.tar.xz
Log server version on startup
Diffstat (limited to 'synapse/app')
-rwxr-xr-xsynapse/app/homeserver.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py
index 5fec8da7ca..fba43aa2bf 100755
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -39,6 +39,8 @@ from synapse.util.logcontext import LoggingContext
 from daemonize import Daemonize
 import twisted.manhole.telnet
 
+import synapse
+
 import logging
 import os
 import re
@@ -199,6 +201,7 @@ def setup():
     config.setup_logging()
 
     logger.info("Server hostname: %s", config.server_name)
+    logger.info("Server version: %s", synapse.__version__)
 
     if re.search(":[0-9]+$", config.server_name):
         domain_with_port = config.server_name