summary refs log tree commit diff
path: root/synapse/config/logger.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-02-14 17:10:36 +0000
committerGitHub <noreply@github.com>2019-02-14 17:10:36 +0000
commitf31101882391aa37bc6fdeb71d1559d5dcdfd4e7 (patch)
tree103e95aaecc64cc137fa28f0987d6ce8ebf27e07 /synapse/config/logger.py
parent0.99.1 (diff)
downloadsynapse-f31101882391aa37bc6fdeb71d1559d5dcdfd4e7.tar.xz
Fix errors in acme provisioning (#4648)
* Better logging for errors on startup

* Fix "TypeError: '>' not supported" when starting without an existing
  certificate
* Fix a bug where an existing certificate would be reprovisoned every day

Diffstat (limited to '')
-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")