mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-09 04:24:56 -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
|
@ -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,)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue