refactor: add logger field to config logger

This commit is contained in:
Trong Huu Nguyen
2022-07-18 09:35:05 +02:00
parent 284fa2a76f
commit f504bb0030

View File

@@ -43,7 +43,7 @@ func run() error {
log.Tracef("Trace logging enabled")
for _, line := range conftools.Format(maskedConfig) {
log.Info(line)
log.WithField("logger", "wonderwall.config").Info(line)
}
key, err := crypto.EncryptionKeyOrGenerate(cfg)