fix: use correct LOG env names (#6511)

This commit is contained in:
Ammar Bandukwala
2023-03-08 10:27:32 -06:00
committed by GitHub
parent 3b87316ad7
commit 95626d2076

View File

@ -976,7 +976,7 @@ func (c *DeploymentValues) Options() clibase.OptionSet {
Name: "Human Log Location",
Description: "Output human-readable logs to a given file.",
Flag: "log-human",
Env: "LOG_HUMAN",
Env: "LOGGING_HUMAN",
Default: "/dev/stderr",
Value: &c.Logging.Human,
Group: &DeploymentGroupIntrospectionLogging,
@ -986,7 +986,7 @@ func (c *DeploymentValues) Options() clibase.OptionSet {
Name: "JSON Log Location",
Description: "Output JSON logs to a given file.",
Flag: "log-json",
Env: "LOG_JSON",
Env: "LOGGING_JSON",
Default: "",
Value: &c.Logging.JSON,
Group: &DeploymentGroupIntrospectionLogging,
@ -996,7 +996,7 @@ func (c *DeploymentValues) Options() clibase.OptionSet {
Name: "Stackdriver Log Location",
Description: "Output Stackdriver compatible logs to a given file.",
Flag: "log-stackdriver",
Env: "LOG_STACKDRIVER",
Env: "LOGGING_STACKDRIVER",
Default: "",
Value: &c.Logging.Stackdriver,
Group: &DeploymentGroupIntrospectionLogging,