don't log full list of environment variables at default log level

This commit is contained in:
Andreas Mårtensson 2025-10-13 16:35:24 +02:00 committed by GitHub
parent ea7673343a
commit 40e5ff3daf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -157,7 +157,8 @@ func (impl JobHookImpl) Restore(
config := getRestoreWalConfig() config := getRestoreWalConfig()
contextLogger.Info("sending restore response", "config", config, "env", env) contextLogger.Info("sending restore response", "config", config)
contextLogger.Trace("sending restore response", "env", env)
return &restore.RestoreResponse{ return &restore.RestoreResponse{
RestoreConfig: config, RestoreConfig: config,
Envs: nil, Envs: nil,