diff --git a/opentelemetry/CHANGELOG.md b/opentelemetry/CHANGELOG.md index bfc9035bdb..2b181cc8ad 100644 --- a/opentelemetry/CHANGELOG.md +++ b/opentelemetry/CHANGELOG.md @@ -36,7 +36,7 @@ let counter = meter.u64_counter("my_counter").build(); - **Breaking change**: [#2260](https://github.com/open-telemetry/opentelemetry-rust/pull/2260) - Removed `global::set_error_handler` and `global::handle_error`. - `global::handle_error` usage inside the opentelemetry crates has been replaced with `global::otel_info`, `otel_warn`, `otel_debug` and `otel_error` macros based on the severity of the internal logs. - - The default behavior of `global::handle_error` was to log the error using `eprintln!`. With otel macro, user now need to configure the tokio tracing layer to capture these logs. + - The default behavior of `global::handle_error` was to log the error using `eprintln!`. With otel macro, the internal logs get emitted via `tracing` macros of matching severity. Users now need to configure the `tracing` layer to capture these logs. - Refer to this PR description for migration guide. Also refer to [self-diagnostics](https://github.com/open-telemetry/opentelemetry-rust/tree/main/examples/self-diagnostics) example on how to configure the tracing layer for internal logs. ## v0.26.0