summary refs log tree commit diff
path: root/synapse/app/homeserver.py
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2015-08-29 22:23:21 +0100
committerMatthew Hodgson <matthew@matrix.org>2015-08-29 22:23:21 +0100
commitd71af2ee122cceaa100e17575fea9dd830c6ce3e (patch)
tree0e5abb0d48780825ab6c38b42c239024f7eeed0f /synapse/app/homeserver.py
parentMerge pull request #258 from matrix-org/slowtestsmakemesad (diff)
downloadsynapse-d71af2ee122cceaa100e17575fea9dd830c6ce3e.tar.xz
don't log the whole DB config (including postgres password...)
Diffstat (limited to 'synapse/app/homeserver.py')
-rwxr-xr-xsynapse/app/homeserver.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py
index ff7807c2e6..ffc6299146 100755
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -403,7 +403,7 @@ def setup(config_options):
         database_engine=database_engine,
     )
 
-    logger.info("Preparing database: %r...", config.database_config)
+    logger.info("Preparing database: %s...", config.database_config['name'])
 
     try:
         db_conn = database_engine.module.connect(
@@ -425,7 +425,7 @@ def setup(config_options):
         )
         sys.exit(1)
 
-    logger.info("Database prepared in %r.", config.database_config)
+    logger.info("Database prepared in %s.", config.database_config['name'])
 
     hs.start_listening()