Fix logging in workers (#5729)

This also adds a worker blacklist.
This commit is contained in:
Amber Brown 2019-07-23 01:05:00 +10:00 committed by Erik Johnston
parent 720d30469f
commit 0d0f6d12bc
4 changed files with 32 additions and 1 deletions

View file

@ -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)