diff options
author | Erik Johnston <erik@matrix.org> | 2015-01-07 17:25:28 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-01-07 17:25:28 +0000 |
commit | 42507b0011a1285645206f5bd627809a8a6337e2 (patch) | |
tree | 9a20b15f5c925241932b65079298bae3e118620d /synapse | |
parent | Change error message for missing pillow libs. (diff) | |
download | synapse-42507b0011a1285645206f5bd627809a8a6337e2.tar.xz |
Log server version on startup
Diffstat (limited to '')
-rwxr-xr-x | synapse/app/homeserver.py | 3 |
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 |