Skip to content

Commit

Permalink
aws-smithy-http-tower: Lower log level of two info logs.
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtechkral committed Sep 15, 2022
1 parent e171ce0 commit eb81254
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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 eb81254

Please sign in to comment.