mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-16 10:11:11 -04:00
Merge #860
860: Properly format output of commands `history`, `config`, `balance` and `list-sellers` using tracing r=rishflab a=binarybaron Properly format output of commands `history`, `config`, `balance` and `list-sellers` using tracing Closes https://github.com/comit-network/xmr-btc-swap/issues/766 Co-authored-by: binarybaron <you@domain.com>
This commit is contained in:
commit
ea3316aa4f
2 changed files with 53 additions and 32 deletions
|
@ -200,7 +200,7 @@ impl EventLoop {
|
|||
for registration in registrations {
|
||||
let peer = registration.record.peer_id();
|
||||
for address in registration.record.addresses() {
|
||||
tracing::info!("Discovered peer {} at {}", peer, address);
|
||||
tracing::info!(peer_id=%peer, address=%address, "Discovered peer");
|
||||
|
||||
let p2p_suffix = Protocol::P2p(*peer.as_ref());
|
||||
let _address_with_p2p = if !address
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue