summary refs log tree commit diff
path: root/synapse/app/media_repository.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/media_repository.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/media_repository.py')
-rw-r--r--synapse/app/media_repository.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/app/media_repository.py b/synapse/app/media_repository.py
index ef17b158a5..c5579d9e38 100644
--- a/synapse/app/media_repository.py
+++ b/synapse/app/media_repository.py
@@ -168,7 +168,7 @@ def start(config_options):
 
     assert config.worker_app == "synapse.app.media_repository"
 
-    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