File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -500,8 +500,8 @@ fn handle_client_taproot(maker: &Arc<Maker>, stream: &mut TcpStream) -> Result<(
500500 ) ;
501501 let message = match serde_cbor:: from_slice :: < TakerToMakerMessage > ( & message_bytes) {
502502 Ok ( msg) => {
503- log:: debug !(
504- "[{}] Successfully decoded message: {:? }" ,
503+ log:: info !(
504+ "[{}] <=== { }" ,
505505 maker. config. network_port,
506506 msg
507507 ) ;
@@ -596,7 +596,7 @@ fn handle_client_taproot(maker: &Arc<Maker>, stream: &mut TcpStream) -> Result<(
596596 }
597597 // Send response if we have one (only applies to taker messages)
598598 if let Some ( response_msg) = response {
599- log:: info!( "[{}] Sending response " , maker. config. network_port, ) ;
599+ log:: info!( "[{}] ===> {} " , maker. config. network_port, response_msg ) ;
600600
601601 if let Err ( e) = send_message ( stream, & response_msg) {
602602 log:: error!(
@@ -778,8 +778,6 @@ pub fn start_maker_server_taproot(maker: Arc<Maker>) -> Result<(), MakerError> {
778778 while !maker. shutdown . load ( Relaxed ) {
779779 match listener. accept ( ) {
780780 Ok ( ( mut stream, _) ) => {
781- log:: info!( "[{network_port}] Received incoming connection" ) ;
782-
783781 if let Err ( e) = handle_client_taproot ( & maker, & mut stream) {
784782 log:: error!( "[{network_port}] Error Handling client request {e:?}" ) ;
785783 }
You can’t perform that action at this time.
0 commit comments