Skip to content

Commit c2e369a

Browse files
authored
Merge f8b1500 into a0ce00e
2 parents a0ce00e + f8b1500 commit c2e369a

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

iroh-net/src/magicsock/relay_actor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ impl RelayActor {
422422
url: &RelayUrl,
423423
remote_node: Option<&NodeId>,
424424
) -> relay::client::Client {
425-
debug!(%url, ?remote_node, "connect relay");
425+
trace!(%url, ?remote_node, "connect relay");
426426
// See if we have a connection open to that relay node ID first. If so, might as
427427
// well use it. (It's a little arbitrary whether we use this one vs. the reverse route
428428
// below when we have both.)

iroh-net/src/relay/client.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -561,12 +561,6 @@ impl Actor {
561561
&mut self,
562562
why: &'static str,
563563
) -> Result<(Conn, &'_ mut ConnReceiver), ClientError> {
564-
debug!(
565-
"connect: {}, current client {}",
566-
why,
567-
self.relay_conn.is_some()
568-
);
569-
570564
if self.is_closed {
571565
return Err(ClientError::Closed);
572566
}
@@ -590,7 +584,7 @@ impl Actor {
590584

591585
Ok((conn, receiver))
592586
}
593-
.instrument(info_span!("connect", %url))
587+
.instrument(info_span!("connect", %url, %why))
594588
.await
595589
}
596590

0 commit comments

Comments
 (0)