diff --git a/core/log/std/augment.go b/core/log/std/augment.go index 599e526c..f02c3d12 100644 --- a/core/log/std/augment.go +++ b/core/log/std/augment.go @@ -12,12 +12,6 @@ package std import ( "os" - "runtime" - "strings" - - "github.com/vmware-tanzu/secrets-manager/core/constants/key" - "github.com/vmware-tanzu/secrets-manager/core/env" - "github.com/vmware-tanzu/secrets-manager/core/log/level" ) func updateInfoWithExpectedEnvVars( @@ -35,11 +29,3 @@ func updateInfoWithExpectedEnvVars( return nf } - -func appendAdditionalDetails(info map[string]string) { - if env.LogLevel() >= int(level.Trace) { - info[key.EnvVars] = strings.Join(envVars(), ", ") - } - - info[key.GoVersion] = runtime.Version() -} diff --git a/core/log/std/envinfo.go b/core/log/std/envinfo.go index 4dbb7cd3..0735def3 100644 --- a/core/log/std/envinfo.go +++ b/core/log/std/envinfo.go @@ -20,7 +20,5 @@ func PrintEnvironmentInfo(id *string, envVarsToExpect []string) { WarnLn(id, "Environment variable '"+v+"' not found") } - appendAdditionalDetails(info) - printFormattedInfo(id, info) }