protoconf icon indicating copy to clipboard operation
protoconf copied to clipboard

Improve logging

Open smintz opened this issue 2 years ago • 4 comments

The project isn't consistent when it comes to logging. We should choose a logging library that will give users a standard logs which will allow them integrate the logs into their preferred logging aggregator and filter them to their needs.

Some popular options:

  1. logrus
  2. zap
  3. zerolog

opinions are welcome in this discussion :)

smintz avatar May 29 '23 14:05 smintz

Many fantastic alternatives have sprung up. Logrus would look like those, had it been re-designed with what we know about structured logging in Go today. Check out, for example, Zerolog, Zap, and Apex.

^^ Logrus ^^

buzzdan avatar May 30 '23 01:05 buzzdan

Logrus is in maintenance-mode.

avivl avatar May 30 '23 12:05 avivl

Go 1.21 (currently RC) will have slog

avivl avatar Jun 26 '23 15:06 avivl

We decided to settle on slog. Some parts already migrated. Need to migrate all parts for consistency.

smintz avatar Mar 18 '24 07:03 smintz