diff options
author | Richard van der Hoff <richard@matrix.org> | 2019-06-21 23:39:08 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2019-06-24 14:14:52 +0100 |
commit | 7c2f8881a955a509a4137119128974c4a58a9b88 (patch) | |
tree | 3d7c1964d9bfafe49020c80f60692dc7a3095409 /synapse/config/logger.py | |
parent | Merge pull request #5516 from matrix-org/rav/acme_key_path (diff) | |
download | synapse-7c2f8881a955a509a4137119128974c4a58a9b88.tar.xz |
Ensure that all config options have sensible defaults
This will enable us to skip the unintuitive behaviour where the generated config and default config are the same thing.
Diffstat (limited to 'synapse/config/logger.py')
-rw-r--r-- | synapse/config/logger.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/logger.py b/synapse/config/logger.py index 153a137517..3e05f49aba 100644 --- a/synapse/config/logger.py +++ b/synapse/config/logger.py @@ -133,7 +133,7 @@ class LoggingConfig(Config): help="Do not redirect stdout/stderr to the log", ) - def generate_files(self, config): + def generate_files(self, config, config_dir_path): log_config = config.get("log_config") if log_config and not os.path.exists(log_config): log_file = self.abspath("homeserver.log") |