diff --git a/cmd/root.go b/cmd/root.go index 209ca22..61a57b7 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -235,7 +235,7 @@ func initConfig() { if cfgFile != "" { viper.SetConfigFile(cfgFile) if err := viper.ReadInConfig(); err == nil { - log.Printf("Using config file: %s", viper.ConfigFileUsed()) + log.Infof("Using config file: %s", viper.ConfigFileUsed()) } else { log.Fatal(fmt.Sprintf("Couldn't read config file: %s", err.Error())) }