-
Notifications
You must be signed in to change notification settings - Fork 90
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
app/log: integrate optional loki logging spout #1425
Conversation
Codecov ReportBase: 53.51% // Head: 53.26% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #1425 +/- ##
==========================================
- Coverage 53.51% 53.26% -0.26%
==========================================
Files 147 148 +1
Lines 18316 18390 +74
==========================================
- Hits 9802 9795 -7
- Misses 7171 7247 +76
- Partials 1343 1348 +5
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
4842d07
to
8f465e3
Compare
app/log/config.go
Outdated
// logger is the global logger. | ||
logger zapLogger = newDefaultLogger() | ||
// stopFuncs are the global logger stop functions. | ||
stopFuncs []func(context.Context) = nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do you need to initialize this as nil?
Co-authored-by: Abhishek Kumar <[email protected]>
Adds an optional loki-client as log destination for local docker-compose deployments.
category: feature
ticket: #1406