diff --git a/CHANGELOG.next.toml b/CHANGELOG.next.toml index a2a98e7617..6d5b31d88c 100644 --- a/CHANGELOG.next.toml +++ b/CHANGELOG.next.toml @@ -11,6 +11,12 @@ # meta = { "breaking" = false, "tada" = false, "bug" = false, "target" = "client | server | all"} # author = "rcoh" +[[smithy-rs]] +message = "Lower log level of two info-level log messages." +references = ["smithy-rs#1735"] +meta = { "breaking" = false, "tada" = false, "bug" = false, "target" = "client" } +author = "vojtechkral" + [[aws-sdk-rust]] message = "`aws_config::RetryConfig` no longer implements `Default`, and its `new` function has been replaced with `standard`." references = ["smithy-rs#1603", "aws-sdk-rust#586"] diff --git a/rust-runtime/aws-smithy-client/src/retry.rs b/rust-runtime/aws-smithy-client/src/retry.rs index d58194e70e..73563cabce 100644 --- a/rust-runtime/aws-smithy-client/src/retry.rs +++ b/rust-runtime/aws-smithy-client/src/retry.rs @@ -355,7 +355,7 @@ impl RetryHandler { sleep_future.await; next } - .instrument(tracing::info_span!("retry", kind = &debug(retry_kind))); + .instrument(tracing::debug_span!("retry", kind = &debug(retry_kind))); Some(check_send(Box::pin(fut))) } } diff --git a/rust-runtime/aws-smithy-http-tower/src/parse_response.rs b/rust-runtime/aws-smithy-http-tower/src/parse_response.rs index 47b2673437..b711fc9885 100644 --- a/rust-runtime/aws-smithy-http-tower/src/parse_response.rs +++ b/rust-runtime/aws-smithy-http-tower/src/parse_response.rs @@ -15,7 +15,7 @@ use std::pin::Pin; use std::task::{Context, Poll}; use tower::{Layer, Service}; use tracing::field::display; -use tracing::{debug_span, field, info_span, Instrument}; +use tracing::{debug_span, field, Instrument}; /// `ParseResponseService` dispatches [`Operation`](aws_smithy_http::operation::Operation)s and parses them. /// @@ -92,7 +92,7 @@ where let handler = parts.response_handler; // send_operation records the full request-response lifecycle. // NOTE: For operations that stream output, only the setup is captured in this span. - let span = info_span!( + let span = debug_span!( "send_operation", operation = field::Empty, service = field::Empty,