We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62bd361 commit b338eb7Copy full SHA for b338eb7
main.go
@@ -99,14 +99,14 @@ func parseAppConfig(path string) (conf config.Config) {
99
100
conf = config.Config{}
101
102
- log.Infof("reading configuration from file %v", path)
+ log.WithField("path", path).Infof("reading configuration from file %v", path)
103
if data, err := ioutil.ReadFile(path); err == nil {
104
configRaw = data
105
} else {
106
panic(err)
107
}
108
109
- log.Info("parsing configuration")
+ log.WithField("path", path).Info("parsing configuration")
110
if err := yaml.Unmarshal(configRaw, &conf); err != nil {
111
112
0 commit comments