@@ -419,7 +419,7 @@ where
419419 cx : & mut Context < ' _ > ,
420420 ) -> Poll < Option < Result < DispatchRequest < Req , Resp > , ChannelError < C :: Error > > > > {
421421 if self . in_flight_requests ( ) . len ( ) >= self . config . max_in_flight_requests {
422- tracing:: info !(
422+ tracing:: debug !(
423423 "At in-flight request capacity ({}/{})." ,
424424 self . in_flight_requests( ) . len( ) ,
425425 self . config. max_in_flight_requests
@@ -437,7 +437,7 @@ where
437437 Some ( request) => {
438438 if request. response_completion . is_closed ( ) {
439439 let _entered = request. span . enter ( ) ;
440- tracing:: info !( "AbortRequest" ) ;
440+ tracing:: debug !( "AbortRequest" ) ;
441441 continue ;
442442 }
443443
@@ -522,7 +522,7 @@ where
522522 . insert_request ( request_id, ctx, span. clone ( ) , response_completion)
523523 . expect ( "Request IDs should be unique" ) ;
524524 match self . start_send ( request) {
525- Ok ( ( ) ) => tracing:: info !( "SendRequest" ) ,
525+ Ok ( ( ) ) => tracing:: debug !( "SendRequest" ) ,
526526 Err ( e) => {
527527 self . in_flight_requests ( )
528528 . complete_request ( request_id, Err ( RpcError :: Send ( Box :: new ( e) ) ) ) ;
@@ -553,7 +553,7 @@ where
553553 } ;
554554 self . start_send ( cancel)
555555 . map_err ( |e| ChannelError :: Write ( Arc :: new ( e) ) ) ?;
556- tracing:: info !( "CancelRequest" ) ;
556+ tracing:: debug !( "CancelRequest" ) ;
557557 Poll :: Ready ( Some ( Ok ( ( ) ) ) )
558558 }
559559
@@ -564,7 +564,7 @@ where
564564 response. message . map_err ( RpcError :: Server ) ,
565565 ) {
566566 let _entered = span. enter ( ) ;
567- tracing:: info !( "ReceiveResponse" ) ;
567+ tracing:: debug !( "ReceiveResponse" ) ;
568568 return true ;
569569 }
570570 false
@@ -594,7 +594,7 @@ where
594594 } ) => {
595595 let _entered = span. enter ( ) ;
596596 if response_completion. is_closed ( ) {
597- tracing:: info !( "AbortRequest" ) ;
597+ tracing:: debug !( "AbortRequest" ) ;
598598 } else {
599599 tracing:: warn!( "RpcError::Channel" ) ;
600600 let _ = response_completion. send ( Err ( RpcError :: Channel ( e. clone ( ) ) ) ) ;
@@ -612,15 +612,15 @@ where
612612 loop {
613613 match ( self . as_mut ( ) . pump_read ( cx) ?, self . as_mut ( ) . pump_write ( cx) ?) {
614614 ( Poll :: Ready ( None ) , _) => {
615- tracing:: info !( "Shutdown: read half closed, so shutting down." ) ;
615+ tracing:: debug !( "Shutdown: read half closed, so shutting down." ) ;
616616 return Poll :: Ready ( Ok ( ( ) ) ) ;
617617 }
618618 ( read, Poll :: Ready ( None ) ) => {
619619 if self . in_flight_requests . is_empty ( ) {
620- tracing:: info !( "Shutdown: write half closed, and no requests in flight." ) ;
620+ tracing:: debug !( "Shutdown: write half closed, and no requests in flight." ) ;
621621 return Poll :: Ready ( Ok ( ( ) ) ) ;
622622 }
623- tracing:: info !(
623+ tracing:: debug !(
624624 "Shutdown: write half closed, and {} requests in flight." ,
625625 self . in_flight_requests( ) . len( )
626626 ) ;
@@ -648,7 +648,7 @@ where
648648 ) -> Poll < Result < ( ) , ChannelError < C :: Error > > > {
649649 loop {
650650 if let Some ( e) = self . terminal_error_mut ( ) {
651- tracing:: info !( "RpcError::Channel" ) ;
651+ tracing:: debug !( "RpcError::Channel" ) ;
652652 let e: ChannelError < C :: Error > = e
653653 . clone ( )
654654 . downcast ( )
0 commit comments