mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-20 23:54:07 -04:00
Improve logging when generating config files (#5510)
Make it a bit clearer what's going on.
This commit is contained in:
parent
5d6644efe0
commit
37933a3bf8
4 changed files with 8 additions and 1 deletions
|
@ -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),))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue