Skip to content

Commit d182c6d

Browse files
committed
feat: log the config file used at DEBUG level instead of INFO
Signed-off-by: Brian McGee <[email protected]>
1 parent 2dcfe67 commit d182c6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/root.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ func runE(v *viper.Viper, statz *stats.Stats, cmd *cobra.Command, args []string)
131131
return fmt.Errorf("failed to find treefmt config file: %w", err)
132132
}
133133

134-
log.Infof("using config file: %s", configFile)
134+
log.Debugf("using config file: %s", configFile)
135135

136136
// read in the config
137137
v.SetConfigFile(configFile)

0 commit comments

Comments
 (0)