mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-04-21 16:29:20 -04:00
feat(asb): Change log level of rendezvous register logs to TRACE (#188)
This commit is contained in:
parent
5ceda8fce7
commit
81f41183ae
@ -382,10 +382,10 @@ where
|
||||
tracing::info!(swap_id = %swap_id, peer = %peer, "Fullfilled cooperative XMR redeem request");
|
||||
}
|
||||
SwarmEvent::Behaviour(OutEvent::Rendezvous(libp2p::rendezvous::client::Event::Registered { rendezvous_node, ttl, namespace })) => {
|
||||
tracing::info!("Successfully registered with rendezvous node: {} with namespace: {} and TTL: {:?}", rendezvous_node, namespace, ttl);
|
||||
tracing::trace!("Successfully registered with rendezvous node: {} with namespace: {} and TTL: {:?}", rendezvous_node, namespace, ttl);
|
||||
}
|
||||
SwarmEvent::Behaviour(OutEvent::Rendezvous(libp2p::rendezvous::client::Event::RegisterFailed { rendezvous_node, namespace, error })) => {
|
||||
tracing::error!("Registration with rendezvous node {} failed for namespace {}: {:?}", rendezvous_node, namespace, error);
|
||||
tracing::trace!("Registration with rendezvous node {} failed for namespace {}: {:?}", rendezvous_node, namespace, error);
|
||||
}
|
||||
SwarmEvent::Behaviour(OutEvent::OutboundRequestResponseFailure {peer, error, request_id, protocol}) => {
|
||||
tracing::error!(
|
||||
|
@ -223,7 +223,7 @@ fn print_status_change(txid: Txid, old: Option<ScriptStatus>, new: ScriptStatus)
|
||||
tracing::debug!(%txid, status = %new_status, "Found relevant Bitcoin transaction");
|
||||
}
|
||||
(Some(old_status), new_status) if old_status != new_status => {
|
||||
tracing::debug!(%txid, %new_status, %old_status, "Bitcoin transaction status changed");
|
||||
tracing::trace!(%txid, %new_status, %old_status, "Bitcoin transaction status changed");
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
@ -836,7 +836,7 @@ impl Client {
|
||||
let latest_block_height = BlockHeight::try_from(latest_block)?;
|
||||
|
||||
if latest_block_height > self.latest_block_height {
|
||||
tracing::debug!(
|
||||
tracing::trace!(
|
||||
block_height = u32::from(latest_block_height),
|
||||
"Got notification for new block"
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user