Skip to content

Commit

Permalink
chore: update phoenix log levels (#1046)
Browse files Browse the repository at this point in the history
This makes the more noisy one debug for now, and elevates one that is probably actually indicative of underlying issues an error.
  • Loading branch information
XAMPPRocky authored Dec 5, 2024
1 parent b702a91 commit 2c5b024
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/net/phoenix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ pub fn spawn<M: Clone + Measurement + Sync + Send + 'static>(
.serve_connection(conn, svc)
.await
{
tracing::warn!(
tracing::error!(
"failed to reponse to phoenix request: {err}"
);
}
Expand Down Expand Up @@ -317,7 +317,7 @@ impl<M: Measurement + 'static> Phoenix<M> {
count += 1;
}
Err(error) => {
tracing::warn!(%address, %error, "error measuring distance");
tracing::debug!(%address, %error, "error measuring distance");
node.increase_error_estimate();
}
}
Expand Down

0 comments on commit 2c5b024

Please sign in to comment.