opencompose icon indicating copy to clipboard operation
opencompose copied to clipboard

Set up logging

Open concaf opened this issue 8 years ago • 3 comments

We don't log. We should log.

Let's decide on a logging package and start using it for different level of logs. We can consider -

  • google/glog
  • sirupsen/logrus
  • log from stdlib
  • juju/loggo
  • uber-go/zap

concaf avatar Jun 05 '17 10:06 concaf

:+1: for sirupsen/logrus

edit: https://github.com/google/glog is in c++, so nah

cdrage avatar Jun 05 '17 13:06 cdrage

I don't really see need for logging right now to be honest

If there is no good reason I would stick with stdlib

kadel avatar Jun 05 '17 13:06 kadel

edit: https://github.com/google/glog is in c++, so nah

@cdrage - both Kubernetes and OpenShift use it, worth considering I think.

I don't really see need for logging right now to be honest

@kadel - I think we should start doing at least debug logs sooner than later, it'd really help in debugging, etc.

If there is no good reason I would stick with stdlib

I don't think they support structured logging :(

concaf avatar Jun 06 '17 11:06 concaf