metacontroller icon indicating copy to clipboard operation
metacontroller copied to clipboard

Add option to log in json format

Open grzesuav opened this issue 6 years ago • 1 comments

For use in ELK the log need to be in json format.

grzesuav avatar Apr 24 '19 15:04 grzesuav

Has anyone had good experience with a Go logging library that supports JSON output?

A couple that I've seen in the wild are:

  • https://github.com/sirupsen/logrus
  • https://go.uber.org/zap (used by controller-runtime via https://github.com/go-logr/zapr)

Once we pick one, it should be pretty mechanical to go through and switch it out.

enisoc avatar Apr 24 '19 16:04 enisoc