mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:26:09 -04:00
Refactor logger config for workers
- to make it easier to add more config options.
This commit is contained in:
parent
45d173a59a
commit
d84bd51e95
9 changed files with 26 additions and 13 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue