From b5beda8efe6821278b75fd499302605f68ae008e Mon Sep 17 00:00:00 2001 From: Ian Letourneau Date: Tue, 4 Nov 2025 15:27:17 -0500 Subject: [PATCH] better debug log --- harmony/src/domain/topology/ha_cluster.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/harmony/src/domain/topology/ha_cluster.rs b/harmony/src/domain/topology/ha_cluster.rs index f7cab57..9a0640e 100644 --- a/harmony/src/domain/topology/ha_cluster.rs +++ b/harmony/src/domain/topology/ha_cluster.rs @@ -148,7 +148,10 @@ impl HAClusterTopology { }, ..Default::default() }; - debug!("Creating NMState: {nmstate:#?}"); + debug!( + "Creating NMState:\n{}", + serde_yaml::to_string(&nmstate).unwrap() + ); k8s_client .apply(&nmstate, None) .await @@ -181,7 +184,8 @@ impl HAClusterTopology { let bond_config = self.create_bond_configuration(&hostname, &bond_id, config); debug!( - "Applying NMState bond config for host {}: {bond_config:#?}", + "Applying NMState bond config for host {}:\n{}", + serde_yaml::to_string(&bond_config).unwrap(), config.host_id ); self.k8s_client()