Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

chore: Remove debug logging that exposed config JSON

rcourtman884c85c2ab98
diff --git a/internal/config/persistence.go b/internal/config/persistence.go
index 194d76f962..1f37f670ba 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