summary refs log tree commit diff
path: root/synapse/app/federation_sender.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/federation_sender.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/federation_sender.py')
-rw-r--r--synapse/app/federation_sender.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/app/federation_sender.py b/synapse/app/federation_sender.py
index 411e47d98d..0cf5b196e6 100644
--- a/synapse/app/federation_sender.py
+++ b/synapse/app/federation_sender.py
@@ -160,7 +160,7 @@ def start(config_options):
 
     assert config.worker_app == "synapse.app.federation_sender"
 
-    setup_logging(config.worker_log_config, config.worker_log_file)
+    setup_logging(config, use_worker_options=True)
 
     events.USE_FROZEN_DICTS = config.use_frozen_dicts