summary refs log tree commit diff
path: root/synapse/app/media_repository.py
diff options
context:
space:
mode:
authorRichard van der Hoff <github@rvanderhoff.org.uk>2017-03-13 12:20:07 +0000
committerGitHub <noreply@github.com>2017-03-13 12:20:07 +0000
commit6bfe8e32b5305d9fc2e161936659f1899aa46e5a (patch)
tree284daa8e83a03d6fdfa885d7869e0d7db3519d9c /synapse/app/media_repository.py
parentMerge pull request #1982 from matrix-org/rav/sighup_for_logconfig (diff)
parentAdd an option to disable stdio redirect (diff)
downloadsynapse-6bfe8e32b5305d9fc2e161936659f1899aa46e5a.tar.xz
Merge pull request #1983 from matrix-org/rav/no_redirect_stdio
Add an option to disable stdio redirect
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