-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
Description
Hi,
-
We want to use the go-kit log
logrus adapterlibrary and we found something a bit strange,
every time you want to use the log API you must provide the key message "msg" for the main message otherwise it will be printed as empty -
why the log every-time printed as
infoeven though filtering correctly according
level.Debug(logger).Log("message", "in debug mode", "key2", "foo")
This prints:
{"key2":"foo", "fields.level":{},"level":"info","message":"in debug mode","msg":""}
Thanks,
Reactions are currently unavailable