mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
fix: use correct LOG env names (#6511)
This commit is contained in:
@ -976,7 +976,7 @@ func (c *DeploymentValues) Options() clibase.OptionSet {
|
|||||||
Name: "Human Log Location",
|
Name: "Human Log Location",
|
||||||
Description: "Output human-readable logs to a given file.",
|
Description: "Output human-readable logs to a given file.",
|
||||||
Flag: "log-human",
|
Flag: "log-human",
|
||||||
Env: "LOG_HUMAN",
|
Env: "LOGGING_HUMAN",
|
||||||
Default: "/dev/stderr",
|
Default: "/dev/stderr",
|
||||||
Value: &c.Logging.Human,
|
Value: &c.Logging.Human,
|
||||||
Group: &DeploymentGroupIntrospectionLogging,
|
Group: &DeploymentGroupIntrospectionLogging,
|
||||||
@ -986,7 +986,7 @@ func (c *DeploymentValues) Options() clibase.OptionSet {
|
|||||||
Name: "JSON Log Location",
|
Name: "JSON Log Location",
|
||||||
Description: "Output JSON logs to a given file.",
|
Description: "Output JSON logs to a given file.",
|
||||||
Flag: "log-json",
|
Flag: "log-json",
|
||||||
Env: "LOG_JSON",
|
Env: "LOGGING_JSON",
|
||||||
Default: "",
|
Default: "",
|
||||||
Value: &c.Logging.JSON,
|
Value: &c.Logging.JSON,
|
||||||
Group: &DeploymentGroupIntrospectionLogging,
|
Group: &DeploymentGroupIntrospectionLogging,
|
||||||
@ -996,7 +996,7 @@ func (c *DeploymentValues) Options() clibase.OptionSet {
|
|||||||
Name: "Stackdriver Log Location",
|
Name: "Stackdriver Log Location",
|
||||||
Description: "Output Stackdriver compatible logs to a given file.",
|
Description: "Output Stackdriver compatible logs to a given file.",
|
||||||
Flag: "log-stackdriver",
|
Flag: "log-stackdriver",
|
||||||
Env: "LOG_STACKDRIVER",
|
Env: "LOGGING_STACKDRIVER",
|
||||||
Default: "",
|
Default: "",
|
||||||
Value: &c.Logging.Stackdriver,
|
Value: &c.Logging.Stackdriver,
|
||||||
Group: &DeploymentGroupIntrospectionLogging,
|
Group: &DeploymentGroupIntrospectionLogging,
|
||||||
|
Reference in New Issue
Block a user