Add a debug log message for config filenames.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
Daniel Nephin 2015-09-17 14:28:16 -04:00
parent fd75e4bf63
commit 577439ea7f
1 changed files with 2 additions and 0 deletions

View File

@ -104,6 +104,8 @@ def find(base_dir, filenames):
filenames = [os.path.join(base_dir, f) for f in filenames]
else:
filenames = get_default_config_files(base_dir)
log.debug("Using configuration files: {}".format(",".join(filenames)))
return ConfigDetails(
os.path.dirname(filenames[0]),
[ConfigFile(f, load_yaml(f)) for f in filenames])