From a4a2b522ea1e8c3b11411db5035bb539cfa43456 Mon Sep 17 00:00:00 2001 From: Adam Chalkley Date: Thu, 24 Oct 2019 09:32:13 -0500 Subject: [PATCH] Alter log level for "removing file" messages Log messages are emitted BEFORE removing a file and again AFTER. Change log level of the BEFORE messages from INFO to DEBUG level in order to dedupe what is shown at INFO level. refs #80 --- paths.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paths.go b/paths.go index bd6593f6..a42a14a8 100644 --- a/paths.go +++ b/paths.go @@ -68,7 +68,7 @@ func cleanPath(files FileMatches, config *Config) (PathPruningResults, error) { // fully-qualified path to the file "file": file.Path, - }).Info("Removing file") + }).Debug("Removing file") // We need to reference the full path here, not the short name since // the current working directory may not be the same directory