From 96bc40cd9b72e9531f1a94d67a4380816194bd05 Mon Sep 17 00:00:00 2001 From: SW van Heerden Date: Fri, 2 Feb 2024 15:41:40 +0200 Subject: [PATCH] chore: suppress warn log (#6118) Description --- Suppresses warn log --- comms/core/src/connection_manager/dialer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comms/core/src/connection_manager/dialer.rs b/comms/core/src/connection_manager/dialer.rs index b5bc59565c..695b381215 100644 --- a/comms/core/src/connection_manager/dialer.rs +++ b/comms/core/src/connection_manager/dialer.rs @@ -519,7 +519,7 @@ where // Inflight dial was cancelled (state, Err(ConnectionManagerError::DialCancelled)) => break (state, Err(ConnectionManagerError::DialCancelled)), (state, Err(err)) => { - warn!(target: LOG_TARGET, "Failed to dial peer {} | Attempt {} | Error: {}", state.peer().node_id.short_str(), state.num_attempts(), err); + debug!(target: LOG_TARGET, "Failed to dial peer {} | Attempt {} | Error: {}", state.peer().node_id.short_str(), state.num_attempts(), err); if state.num_attempts() >= config.max_dial_attempts { break (state, Err(ConnectionManagerError::ConnectFailedMaximumAttemptsReached)); }