@@ -143,7 +143,7 @@ use types::{
143143} ;
144144pub use types:: { ChannelDetails , CustomTlvRecord , PeerDetails , UserChannelId } ;
145145
146- use logger:: { log_error, log_info, log_trace, LdkLogger , Logger } ;
146+ use logger:: { log_debug , log_error, log_info, log_trace, LdkLogger , Logger } ;
147147
148148use lightning:: chain:: BestBlock ;
149149use lightning:: events:: bump_transaction:: Wallet as LdkWallet ;
@@ -265,7 +265,7 @@ impl Node {
265265 loop {
266266 tokio:: select! {
267267 _ = stop_gossip_sync. changed( ) => {
268- log_trace !(
268+ log_debug !(
269269 gossip_sync_logger,
270270 "Stopping background syncing RGS gossip data." ,
271271 ) ;
@@ -344,7 +344,7 @@ impl Node {
344344 let peer_mgr = Arc :: clone ( & peer_manager_connection_handler) ;
345345 tokio:: select! {
346346 _ = stop_listen. changed( ) => {
347- log_trace !(
347+ log_debug !(
348348 listening_logger,
349349 "Stopping listening to inbound connections." ,
350350 ) ;
@@ -380,7 +380,7 @@ impl Node {
380380 loop {
381381 tokio:: select! {
382382 _ = stop_connect. changed( ) => {
383- log_trace !(
383+ log_debug !(
384384 connect_logger,
385385 "Stopping reconnecting known peers." ,
386386 ) ;
@@ -394,18 +394,10 @@ impl Node {
394394 . collect:: <Vec <_>>( ) ;
395395
396396 for peer_info in connect_peer_store. list_peers( ) . iter( ) . filter( |info| !pm_peers. contains( & info. node_id) ) {
397- let res = connect_cm. do_connect_peer(
397+ let _ = connect_cm. do_connect_peer(
398398 peer_info. node_id,
399399 peer_info. address. clone( ) ,
400400 ) . await ;
401- match res {
402- Ok ( _) => {
403- log_info!( connect_logger, "Successfully reconnected to peer {}" , peer_info. node_id) ;
404- } ,
405- Err ( e) => {
406- log_error!( connect_logger, "Failed to reconnect to peer {}: {}" , peer_info. node_id, e) ;
407- }
408- }
409401 }
410402 }
411403 }
@@ -431,7 +423,7 @@ impl Node {
431423 loop {
432424 tokio:: select! {
433425 _ = stop_bcast. changed( ) => {
434- log_trace !(
426+ log_debug !(
435427 bcast_logger,
436428 "Stopping broadcasting node announcements." ,
437429 ) ;
@@ -504,7 +496,7 @@ impl Node {
504496 loop {
505497 tokio:: select! {
506498 _ = stop_tx_bcast. changed( ) => {
507- log_trace !(
499+ log_debug !(
508500 tx_bcast_logger,
509501 "Stopping broadcasting transactions." ,
510502 ) ;
@@ -558,7 +550,7 @@ impl Node {
558550 Box :: pin ( async move {
559551 tokio:: select! {
560552 _ = stop. changed( ) => {
561- log_trace !(
553+ log_debug !(
562554 sleeper_logger,
563555 "Stopping processing events." ,
564556 ) ;
@@ -593,7 +585,7 @@ impl Node {
593585 log_error ! ( background_error_logger, "Failed to process events: {}" , e) ;
594586 panic ! ( "Failed to process events" ) ;
595587 } ) ;
596- log_trace ! ( background_stop_logger, "Events processing stopped." , ) ;
588+ log_debug ! ( background_stop_logger, "Events processing stopped." , ) ;
597589
598590 match event_handling_stopped_sender. send ( ( ) ) {
599591 Ok ( _) => ( ) ,
@@ -616,7 +608,7 @@ impl Node {
616608 loop {
617609 tokio:: select! {
618610 _ = stop_liquidity_handler. changed( ) => {
619- log_trace !(
611+ log_debug !(
620612 liquidity_logger,
621613 "Stopping processing liquidity events." ,
622614 ) ;
0 commit comments