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.
This commit is contained in:
parent
8f5b258424
commit
128dccf270
1 changed files with 0 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue