From 128dccf27087961f046a35aafda784f0653a7148 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Tue, 2 Dec 2025 15:32:02 +0000 Subject: [PATCH] chore: Remove debug logging that exposed config JSON Removed two DEBUG log statements that were logging full nodes config JSON at Info level. This was verbose and potentially exposed sensitive configuration data (credentials, tokens) in logs. --- internal/config/persistence.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/internal/config/persistence.go b/internal/config/persistence.go index 194d76f..1f37f67 100644 --- a/internal/config/persistence.go +++ b/internal/config/persistence.go @@ -902,9 +902,6 @@ func (c *ConfigPersistence) saveNodesConfig(pveInstances []PVEInstance, pbsInsta return err } - // DEBUG: Log the JSON data being saved to check for TemperatureMonitoringEnabled - log.Info().Str("json", string(data)).Msg("DEBUG: Saving nodes config JSON") - if err := c.EnsureConfigDir(); err != nil { return err } @@ -1060,9 +1057,6 @@ func (c *ConfigPersistence) LoadNodesConfig() (*NodesConfig, error) { } } - // DEBUG: Log the JSON data loaded from disk - log.Info().Str("json", string(data)).Msg("DEBUG: Loaded nodes config JSON") - var config NodesConfig if err := json.Unmarshal(data, &config); err != nil { return nil, err