open-feature / flagd

A feature flag daemon with a Unix philosophy
https://openfeature.dev
Apache License 2.0
564 stars 67 forks source link

[FEATURE] Reevaluate Logging framework and maybe switch #1324

Open aepfli opened 5 months ago

aepfli commented 5 months ago

Requirements

Currently, flagd is using ZAP as a logging framework, which works great. ZAP was chosen because no logging framework was delivered with Go. Now, there is slog, which offers all the functionality needed but is a standard library package.

One of the reasons for proposing this change is https://github.com/open-feature/go-sdk-contrib/issues/522 and https://github.com/open-feature/go-sdk/issues/260. To enable better interoperability, it would make sense to evaluate and maybe switch to slog.