Skip to content

Commit

Permalink
Merge branch 'main' into davidpz/refactor-redact-if-necessary-function
Browse files Browse the repository at this point in the history
  • Loading branch information
crisidev authored Sep 19, 2022
2 parents 53bd2ed + b02f9ad commit 939fcb6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.next.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion rust-runtime/aws-smithy-client/src/retry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
}
}
Expand Down
4 changes: 2 additions & 2 deletions rust-runtime/aws-smithy-http-tower/src/parse_response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 939fcb6

Please sign in to comment.