-
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
[exporter/logging] Decouple loglevel
field from level of logged messages
#5678
[exporter/logging] Decouple loglevel
field from level of logged messages
#5678
Conversation
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.
I like this solution. I agree with @tigrannajaryan that being able to set only the logging exporter to debug and not the entire collector is very helpful.
Codecov Report
@@ Coverage Diff @@
## main #5678 +/- ##
=======================================
Coverage 91.44% 91.44%
=======================================
Files 192 192
Lines 11415 11416 +1
=======================================
+ Hits 10438 10439 +1
Misses 778 778
Partials 199 199
Continue to review full report at Codecov.
|
@open-telemetry/collector-approvers any objections to this change? |
…#5677) Build the logger on the logging exporter's logger from the one on `TelemetrySettings`, so that the logger honors the configuration settings on `telemetry::logs` and the configuration options on `CollectorSettings.LoggingOptions`. Depends on #5678 **Link to tracking Issue:** Fixes #5652 **Documentation:** Documented the feature gate.
Description: Make all messages from logging exporter report at info level.
Link to tracking Issue: #5677 (review)
cc @tigrannajaryan