diff --git a/viper.go b/viper.go index d8ebdc5..581cfaa 100644 --- a/viper.go +++ b/viper.go @@ -1137,7 +1137,7 @@ func (v *Viper) ReadInConfig() error { return UnsupportedConfigError(v.getConfigType()) } - jww.DEBUG.Println("Reading file: ", v.getConfigFile()) + jww.DEBUG.Println("Reading file: ", filename) file, err := afero.ReadFile(v.fs, filename) if err != nil { return err