From 0204071e30e68f23d36c9418a4f8f230f3e79407 Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Tue, 24 Jan 2023 15:41:22 +0100 Subject: feat: log detection of config file (#17338) Closes #14578 --- cli/args/config_file.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cli/args') diff --git a/cli/args/config_file.rs b/cli/args/config_file.rs index 199f84709..2320a0b0d 100644 --- a/cli/args/config_file.rs +++ b/cli/args/config_file.rs @@ -524,8 +524,9 @@ impl ConfigFile { if checked.insert(ancestor.to_path_buf()) { for config_filename in CONFIG_FILE_NAMES { let f = ancestor.join(config_filename); - match ConfigFile::read(f) { + match ConfigFile::read(&f) { Ok(cf) => { + log::debug!("Config file found at '{}'", f.display()); return Ok(Some(cf)); } Err(e) => { -- cgit v1.2.3