summary refs log tree commit diff
path: root/synapse/config/workers.py
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2019-07-23 01:05:00 +1000
committerErik Johnston <erik@matrix.org>2019-07-22 16:05:00 +0100
commit0d0f6d12bc84b106ac83ecf824bd722a08070b78 (patch)
treed5d101573f71758b8bce0b5586299c0e0cf6c0c5 /synapse/config/workers.py
parentMerge pull request #5730 from matrix-org/erikj/cache_versions (diff)
downloadsynapse-0d0f6d12bc84b106ac83ecf824bd722a08070b78.tar.xz
Fix logging in workers (#5729)
This also adds a worker blacklist.
Diffstat (limited to 'synapse/config/workers.py')
-rw-r--r--synapse/config/workers.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/config/workers.py b/synapse/config/workers.py
index 246d72cd61..bc0fc165e3 100644
--- a/synapse/config/workers.py
+++ b/synapse/config/workers.py
@@ -31,6 +31,7 @@ class WorkerConfig(Config):
         self.worker_listeners = config.get("worker_listeners", [])
         self.worker_daemonize = config.get("worker_daemonize")
         self.worker_pid_file = config.get("worker_pid_file")
+        self.worker_log_config = config.get("worker_log_config")
 
         # The host used to connect to the main synapse
         self.worker_replication_host = config.get("worker_replication_host", None)