@@ -557,9 +557,9 @@ where
557
557
tokio:: sync:: mpsc:: channel :: < TxJsonRpcMessage < R > > ( SINK_PROXY_BUFFER_SIZE ) ;
558
558
let peer_info = peer. peer_info ( ) ;
559
559
if R :: IS_CLIENT {
560
- tracing:: info !( ?peer_info, "Service initialized as client" ) ;
560
+ tracing:: debug !( ?peer_info, "Service initialized as client" ) ;
561
561
} else {
562
- tracing:: info !( ?peer_info, "Service initialized as server" ) ;
562
+ tracing:: debug !( ?peer_info, "Service initialized as server" ) ;
563
563
}
564
564
565
565
let mut local_responder_pool =
@@ -615,7 +615,7 @@ where
615
615
Event :: PeerMessage ( m)
616
616
} else {
617
617
// input stream closed
618
- tracing:: info !( "input stream terminated" ) ;
618
+ tracing:: debug !( "input stream terminated" ) ;
619
619
break QuitReason :: Closed
620
620
}
621
621
}
@@ -642,7 +642,7 @@ where
642
642
}
643
643
}
644
644
_ = serve_loop_ct. cancelled( ) => {
645
- tracing:: info !( "task cancelled" ) ;
645
+ tracing:: debug !( "task cancelled" ) ;
646
646
break QuitReason :: Cancelled
647
647
}
648
648
}
@@ -670,7 +670,7 @@ where
670
670
let _ = responder. send ( response) ;
671
671
if let Some ( param) = cancellation_param {
672
672
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" ) ;
674
674
let _response_result = responder. send ( Err ( ServiceError :: Cancelled {
675
675
reason : param. reason . clone ( ) ,
676
676
} ) ) ;
@@ -782,12 +782,12 @@ where
782
782
notification,
783
783
..
784
784
} ) ) => {
785
- tracing:: info !( ?notification, "received notification" ) ;
785
+ tracing:: trace !( ?notification, "received notification" ) ;
786
786
// catch cancelled notification
787
787
let mut notification = match notification. try_into ( ) {
788
788
Ok :: < CancelledNotification , _ > ( cancelled) => {
789
789
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" ) ;
791
791
ct. cancel ( ) ;
792
792
}
793
793
cancelled. into ( )
@@ -855,7 +855,7 @@ where
855
855
if let Err ( e) = sink_close_result {
856
856
tracing:: error!( %e, "fail to close sink" ) ;
857
857
}
858
- tracing:: info !( ?quit_reason, "serve finished" ) ;
858
+ tracing:: debug !( ?quit_reason, "serve finished" ) ;
859
859
quit_reason
860
860
} . instrument ( current_span) ) ;
861
861
RunningService {
0 commit comments