From 8a7bbe6b8d36228fcbc0a692649ca401efca7261 Mon Sep 17 00:00:00 2001 From: Leonardo Gama <51037424+Leo10Gama@users.noreply.github.com> Date: Wed, 21 Jun 2023 14:56:38 -0700 Subject: [PATCH] feat: Fix message when no config file is found (#5394) * Fix message when no config file found * Formatting --------- Co-authored-by: Leonardo Gama --- samcli/lib/config/samconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samcli/lib/config/samconfig.py b/samcli/lib/config/samconfig.py index 0762249c8f..e9acafd557 100644 --- a/samcli/lib/config/samconfig.py +++ b/samcli/lib/config/samconfig.py @@ -269,7 +269,7 @@ def get_default_file(config_dir: str) -> str: config_file = filename if config_files_found == 0: # Config file doesn't exist (yet!) - LOG.info(f"No config file found. Creating one as {config_file}.") + LOG.debug("No config file found in this directory.") elif config_files_found > 1: # Multiple config files; let user know which is used LOG.info( f"More than one samconfig file found; using {config_file}."