gnmic
gnmic copied to clipboard
Log messages don't have a level set
When managing logs of gnmic containers, there's no log levels, which makes it really difficult to parse and determine if the log messages are "good" info type logs or "warn"/"error"/"critical" errors.
It would be nice to have logs that can have a level attached to them to make it easy to alert on an increase of critical logs or something similar.
That's because gNMIc uses golang's default logger which didn't support structured logging until go1.21. There is a bit of work needed to switch to slog