Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Use Zap library for logging to support JSON #272

Open
nilebox opened this issue Aug 4, 2020 · 0 comments
Open

Use Zap library for logging to support JSON #272

nilebox opened this issue Aug 4, 2020 · 0 comments

Comments

@nilebox
Copy link
Contributor

nilebox commented Aug 4, 2020

Is your feature request related to a problem? Please describe.
Currently log messages are written using the standard log package which prints messages in plain text, and doesn't support any customization, and is a problem when used in OpenTelemetry Collector.

Describe the solution you'd like
Migrate to https://github.com/uber-go/zap for logging, and support passing a logger in the configuration / constructor.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant