Skip to content

Commit

Permalink
Update examples/self-diagnostics/src/main.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
  • Loading branch information
lalitb and cijothomas authored Nov 5, 2024
1 parent 7c25d3e commit 4a8ddfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/self-diagnostics/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ fn init_logger_provider() -> opentelemetry_sdk::logs::LoggerProvider {
|| target.starts_with("tonic")
|| target.starts_with("tower")
|| target.starts_with("reqwest")
|| target.starts_with("opentelemetry_"))
|| target.starts_with("opentelemetry"))
&& metadata.level() == &tracing::Level::ERROR
});
// Configure fmt::Layer to print detailed log information, including structured fields
Expand Down

0 comments on commit 4a8ddfb

Please sign in to comment.