diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2019-06-21 17:14:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-21 17:14:56 +0100 |
commit | 37933a3bf88b6ddf0a01cb4b86e8645aca93ae0f (patch) | |
tree | 3dceb2d7c252d229b7a5d12f06b495850feb5673 /synapse/config/_base.py | |
parent | Only import jinja2 when needed (#5514) (diff) | |
download | synapse-37933a3bf88b6ddf0a01cb4b86e8645aca93ae0f.tar.xz |
Improve logging when generating config files (#5510)
Make it a bit clearer what's going on.
Diffstat (limited to 'synapse/config/_base.py')
-rw-r--r-- | synapse/config/_base.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/config/_base.py b/synapse/config/_base.py index 8284aa4c6d..4c6a684cb9 100644 --- a/synapse/config/_base.py +++ b/synapse/config/_base.py @@ -289,6 +289,7 @@ class Config(object): ) (config_path,) = config_files if not cls.path_exists(config_path): + print("Generating config file %s" % (config_path,)) if config_args.keys_directory: config_dir_path = config_args.keys_directory else: @@ -331,7 +332,7 @@ class Config(object): else: print( ( - "Config file %r already exists. Generating any missing key" + "Config file %r already exists. Generating any missing config" " files." ) % (config_path,) |