From 57a8a03224bae42aa80eac0e4ee16ccae987b731 Mon Sep 17 00:00:00 2001 From: "justin.weng" Date: Fri, 4 Oct 2024 16:51:19 +1000 Subject: [PATCH] fix log format --- shotover/src/transforms/kafka/sink_cluster/shotover_node.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/shotover/src/transforms/kafka/sink_cluster/shotover_node.rs b/shotover/src/transforms/kafka/sink_cluster/shotover_node.rs index f7a9ff8e9..a527b4b29 100644 --- a/shotover/src/transforms/kafka/sink_cluster/shotover_node.rs +++ b/shotover/src/transforms/kafka/sink_cluster/shotover_node.rs @@ -103,7 +103,10 @@ async fn check_shotover_peers( shotover_peer.set_state(ShotoverNodeState::Up); } Err(_) => { - tracing::warn!("Shotover peer {:?} is down", shotover_peer.address); + tracing::warn!( + "Shotover peer {} is down", + shotover_peer.address.to_string() + ); shotover_peer.set_state(ShotoverNodeState::Down); } }