diff --git a/bootstrap/environment/variables.go b/bootstrap/environment/variables.go index 47f25fb9..88f74c93 100644 --- a/bootstrap/environment/variables.go +++ b/bootstrap/environment/variables.go @@ -297,7 +297,7 @@ func GetConfDir(lc logger.LoggingClient, configDir string) string { envValue := os.Getenv(envConfDir) if len(envValue) > 0 { configDir = envValue - logEnvironmentOverride(lc, "-c/-confdir", envFile, envValue) + logEnvironmentOverride(lc, "-c/-confdir", envConfDir, envValue) } if len(configDir) == 0 {