summary refs log tree commit diff
path: root/synapse/app/synchrotron.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2017-03-10 15:16:50 +0000
committerRichard van der Hoff <richard@matrix.org>2017-03-10 15:34:01 +0000
commitd84bd51e95149f67e0740657d60b568533a6ea72 (patch)
tree248717e8119a6b941fa5c33b930978a1c4184481 /synapse/app/synchrotron.py
parentFix docstring (diff)
downloadsynapse-d84bd51e95149f67e0740657d60b568533a6ea72.tar.xz
Refactor logger config for workers
- to make it easier to add more config options.
Diffstat (limited to 'synapse/app/synchrotron.py')
-rw-r--r--synapse/app/synchrotron.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/app/synchrotron.py b/synapse/app/synchrotron.py
index 3f29595256..29f075aa5f 100644
--- a/synapse/app/synchrotron.py
+++ b/synapse/app/synchrotron.py
@@ -478,7 +478,7 @@ def start(config_options):
 
     assert config.worker_app == "synapse.app.synchrotron"
 
-    setup_logging(config.worker_log_config, config.worker_log_file)
+    setup_logging(config, use_worker_options=True)
 
     synapse.events.USE_FROZEN_DICTS = config.use_frozen_dicts