summary refs log tree commit diff
path: root/synapse/config/logger.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2019-02-14 17:34:09 +0000
committerRichard van der Hoff <richard@matrix.org>2019-02-14 17:34:09 +0000
commitbf4fd1480652f2af1eb54326c5a3130ceb295a07 (patch)
tree7c015345c6d48b1ddd284a7c54c3ca7ec1219015 /synapse/config/logger.py
parentMerge branch 'master' into develop (diff)
parentMerge branch 'release-v0.99.1' (diff)
downloadsynapse-bf4fd1480652f2af1eb54326c5a3130ceb295a07.tar.xz
Merge branch 'master' into develop
Diffstat (limited to 'synapse/config/logger.py')
-rw-r--r--synapse/config/logger.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/config/logger.py b/synapse/config/logger.py
index 4b938053fb..9b5994d55e 100644
--- a/synapse/config/logger.py
+++ b/synapse/config/logger.py
@@ -242,3 +242,5 @@ def setup_logging(config, use_worker_options=False):
         [_log],
         redirectStandardIO=not config.no_redirect_stdio,
     )
+    if not config.no_redirect_stdio:
+        print("Redirected stdout/stderr to logs")