@@ -557,9 +557,9 @@ where
557557 tokio:: sync:: mpsc:: channel :: < TxJsonRpcMessage < R > > ( SINK_PROXY_BUFFER_SIZE ) ;
558558 let peer_info = peer. peer_info ( ) ;
559559 if R :: IS_CLIENT {
560- tracing:: info !( ?peer_info, "Service initialized as client" ) ;
560+ tracing:: debug !( ?peer_info, "Service initialized as client" ) ;
561561 } else {
562- tracing:: info !( ?peer_info, "Service initialized as server" ) ;
562+ tracing:: debug !( ?peer_info, "Service initialized as server" ) ;
563563 }
564564
565565 let mut local_responder_pool =
@@ -615,7 +615,7 @@ where
615615 Event :: PeerMessage ( m)
616616 } else {
617617 // input stream closed
618- tracing:: info !( "input stream terminated" ) ;
618+ tracing:: debug !( "input stream terminated" ) ;
619619 break QuitReason :: Closed
620620 }
621621 }
@@ -642,7 +642,7 @@ where
642642 }
643643 }
644644 _ = serve_loop_ct. cancelled( ) => {
645- tracing:: info !( "task cancelled" ) ;
645+ tracing:: debug !( "task cancelled" ) ;
646646 break QuitReason :: Cancelled
647647 }
648648 }
@@ -670,7 +670,7 @@ where
670670 let _ = responder. send ( response) ;
671671 if let Some ( param) = cancellation_param {
672672 if let Some ( responder) = local_responder_pool. remove ( & param. request_id ) {
673- tracing:: info !( id = %param. request_id, reason = param. reason, "cancelled" ) ;
673+ tracing:: debug !( id = %param. request_id, reason = param. reason, "cancelled" ) ;
674674 let _response_result = responder. send ( Err ( ServiceError :: Cancelled {
675675 reason : param. reason . clone ( ) ,
676676 } ) ) ;
@@ -782,12 +782,12 @@ where
782782 notification,
783783 ..
784784 } ) ) => {
785- tracing:: info !( ?notification, "received notification" ) ;
785+ tracing:: trace !( ?notification, "received notification" ) ;
786786 // catch cancelled notification
787787 let mut notification = match notification. try_into ( ) {
788788 Ok :: < CancelledNotification , _ > ( cancelled) => {
789789 if let Some ( ct) = local_ct_pool. remove ( & cancelled. params . request_id ) {
790- tracing:: info !( id = %cancelled. params. request_id, reason = cancelled. params. reason, "cancelled" ) ;
790+ tracing:: debug !( id = %cancelled. params. request_id, reason = cancelled. params. reason, "cancelled" ) ;
791791 ct. cancel ( ) ;
792792 }
793793 cancelled. into ( )
@@ -855,7 +855,7 @@ where
855855 if let Err ( e) = sink_close_result {
856856 tracing:: error!( %e, "fail to close sink" ) ;
857857 }
858- tracing:: info !( ?quit_reason, "serve finished" ) ;
858+ tracing:: debug !( ?quit_reason, "serve finished" ) ;
859859 quit_reason
860860 } . instrument ( current_span) ) ;
861861 RunningService {
0 commit comments