mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-01-11 05:13:10 +01:00
fix: don't log full environment variables at default log level (#589)
Logging the full environment of the plugin container can potentially result in an unnecessarily long log line, but perhaps more importantly the credentials are visible as well. Signed-off-by: Andreas Mårtensson <andreas.martensson@svt.se>
This commit is contained in:
parent
316828cc73
commit
a487c4ef50
@ -157,7 +157,7 @@ func (impl JobHookImpl) Restore(
|
||||
|
||||
config := getRestoreWalConfig()
|
||||
|
||||
contextLogger.Info("sending restore response", "config", config, "env", env)
|
||||
contextLogger.Info("sending restore response", "config", config)
|
||||
return &restore.RestoreResponse{
|
||||
RestoreConfig: config,
|
||||
Envs: nil,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user