@@ -594,7 +594,7 @@ impl NetworkProtocolHandler for SyncProtocolHandler {
594594 fn read ( & self , io : & dyn NetworkContext , peer : & PeerId , packet_id : u8 , data : & [ u8 ] ) {
595595 let session_info = io. session_info ( * peer) ;
596596 if session_info. is_none ( ) {
597- debug ! ( target: "sync" , "Received packet from peer, where no Session info is available anymore (was just disconnected ?? ): {peer}" ) ;
597+ debug ! ( target: "sync" , "Received packet from peer, where no Session info is available anymore (was just disconnected ?): {peer}" ) ;
598598 return ;
599599 }
600600 let node_id = io. session_info ( * peer) . unwrap ( ) . id ;
@@ -614,7 +614,7 @@ impl NetworkProtocolHandler for SyncProtocolHandler {
614614 . unwrap_or_else ( || panic ! ( "peer not found: {peer}" ) )
615615 . id ;
616616 if io. is_reserved_peer ( * peer) {
617- trace ! ( target: "sync" , "Connected to reserved peer {node_id:?} {peer}" ) ;
617+ debug ! ( target: "sync" , "Connected to reserved peer {node_id:?} {peer}" ) ;
618618 }
619619 // If warp protocol is supported only allow warp handshake
620620 let warp_protocol = io. protocol_version ( PAR_PROTOCOL , * peer) . unwrap_or ( 0 ) != 0 ;
@@ -630,7 +630,7 @@ impl NetworkProtocolHandler for SyncProtocolHandler {
630630 fn disconnected ( & self , io : & dyn NetworkContext , peer : & PeerId ) {
631631 trace_time ! ( "sync::disconnected" ) ;
632632 if io. is_reserved_peer ( * peer) {
633- warn ! ( target: "sync" , "Disconnected from reserved peer peerID: {} protocol: {} peer: {}" , peer , io. subprotocol_name( ) , io. session_info( * peer) . expect( "" ) . id. map_or( "" . to_string( ) , |f| format!( "{:?}" , f) ) ) ;
633+ debug ! ( target: "sync" , "Disconnected from reserved peer peerID: {} protocol: {} peer: {}" , peer , io. subprotocol_name( ) , io. session_info( * peer) . expect( "" ) . id. map_or( "" . to_string( ) , |f| format!( "{:?}" , f) ) ) ;
634634 }
635635 if io. subprotocol_name ( ) != PAR_PROTOCOL {
636636 self . sync . write ( ) . on_peer_aborting (
0 commit comments