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/key.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/key.py')
-rw-r--r-- | synapse/config/key.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/config/key.py b/synapse/config/key.py index 94a0f47ea4..21c4f5c51c 100644 --- a/synapse/config/key.py +++ b/synapse/config/key.py @@ -241,6 +241,7 @@ class KeyConfig(Config): signing_key_path = config["signing_key_path"] if not self.path_exists(signing_key_path): + print("Generating signing key file %s" % (signing_key_path,)) with open(signing_key_path, "w") as signing_key_file: key_id = "a_" + random_string(4) write_signing_keys(signing_key_file, (generate_signing_key(key_id),)) |