Refactor logger config for workers

- to make it easier to add more config options.
This commit is contained in:
Richard van der Hoff 2017-03-10 15:16:50 +00:00
parent 45d173a59a
commit d84bd51e95
9 changed files with 26 additions and 13 deletions

View file

@ -171,7 +171,7 @@ def start(config_options):
assert config.worker_app == "synapse.app.client_reader"
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