mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-29 09:08:05 -05:00
chore(net): reduce log level for outgoing conn errors (#941)
This commit is contained in:
@@ -689,7 +689,7 @@ where
|
||||
.set(this.swarm.state().peers().num_inbound_connections() as f64);
|
||||
}
|
||||
SwarmEvent::OutgoingPendingSessionClosed { remote_addr, peer_id, error } => {
|
||||
warn!(
|
||||
trace!(
|
||||
target : "net",
|
||||
?remote_addr,
|
||||
?peer_id,
|
||||
@@ -716,7 +716,7 @@ where
|
||||
.set(this.swarm.state().peers().num_outbound_connections() as f64);
|
||||
}
|
||||
SwarmEvent::OutgoingConnectionError { remote_addr, peer_id, error } => {
|
||||
warn!(
|
||||
trace!(
|
||||
target : "net",
|
||||
?remote_addr,
|
||||
?peer_id,
|
||||
|
||||
@@ -36,7 +36,7 @@ use tokio::{
|
||||
sync::{mpsc, oneshot},
|
||||
};
|
||||
use tokio_stream::wrappers::ReceiverStream;
|
||||
use tracing::{instrument, trace, warn};
|
||||
use tracing::{instrument, trace};
|
||||
|
||||
mod active;
|
||||
mod config;
|
||||
@@ -460,7 +460,7 @@ impl SessionManager {
|
||||
}
|
||||
PendingSessionEvent::EciesAuthError { remote_addr, session_id, error, direction } => {
|
||||
self.remove_pending_session(&session_id);
|
||||
warn!(
|
||||
trace!(
|
||||
target : "net::session",
|
||||
?error,
|
||||
?session_id,
|
||||
|
||||
Reference in New Issue
Block a user