diff --git a/tonic/src/transport/server/incoming.rs b/tonic/src/transport/server/incoming.rs index 8e8103e90..4ead628f0 100644 --- a/tonic/src/transport/server/incoming.rs +++ b/tonic/src/transport/server/incoming.rs @@ -71,7 +71,7 @@ where } SelectOutput::Err(e) => { - tracing::error!(message = "Accept loop error.", error = %e); + tracing::debug!(message = "Accept loop error.", error = %e); } SelectOutput::Done => { diff --git a/tonic/src/transport/service/reconnect.rs b/tonic/src/transport/service/reconnect.rs index 151f36e73..019a4930f 100644 --- a/tonic/src/transport/service/reconnect.rs +++ b/tonic/src/transport/service/reconnect.rs @@ -102,7 +102,7 @@ where return Poll::Ready(Err(e.into())); } else { let error = e.into(); - tracing::error!("reconnect::poll_ready: {:?}", error); + tracing::debug!("reconnect::poll_ready: {:?}", error); self.error = Some(error); break; } @@ -141,7 +141,7 @@ where fn call(&mut self, request: Request) -> Self::Future { tracing::trace!("Reconnect::call"); if let Some(error) = self.error.take() { - tracing::error!("error: {:?}", error); + tracing::debug!("error: {}", error); return ResponseFuture::error(error.into()); }