-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logger config #1048
Comments
Can you provide details how others do this? Also what are the configs you want to offer? |
@bogdandrutu I think we could use Zap's config struct as-is (it has yaml and json tags) https://github.com/uber-go/zap/blob/master/config.go#L58 This would allow the user to completely configure Zap to their liking. |
Sounds good, it should probably be part of the "service" configuration :) |
@bogdandrutu
|
The PR was merged for this, closing |
@pureklkl - What are the options for |
@bvsvas it was not added |
Created a GitHub Issue# #10768 |
Otelcol use
zap
to logger something. But now, I can only config my looger by setlog-level
andlog-profile
.How can I config my logger custom? I want to set something like
Encoding
,OutputPaths
,logrotate
and so on.The text was updated successfully, but these errors were encountered: