Skip to content

Commit 95626d2

Browse files
authored
fix: use correct LOG env names (coder#6511)
1 parent 3b87316 commit 95626d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

codersdk/deployment.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,7 @@ func (c *DeploymentValues) Options() clibase.OptionSet {
976976
Name: "Human Log Location",
977977
Description: "Output human-readable logs to a given file.",
978978
Flag: "log-human",
979-
Env: "LOG_HUMAN",
979+
Env: "LOGGING_HUMAN",
980980
Default: "/dev/stderr",
981981
Value: &c.Logging.Human,
982982
Group: &DeploymentGroupIntrospectionLogging,
@@ -986,7 +986,7 @@ func (c *DeploymentValues) Options() clibase.OptionSet {
986986
Name: "JSON Log Location",
987987
Description: "Output JSON logs to a given file.",
988988
Flag: "log-json",
989-
Env: "LOG_JSON",
989+
Env: "LOGGING_JSON",
990990
Default: "",
991991
Value: &c.Logging.JSON,
992992
Group: &DeploymentGroupIntrospectionLogging,
@@ -996,7 +996,7 @@ func (c *DeploymentValues) Options() clibase.OptionSet {
996996
Name: "Stackdriver Log Location",
997997
Description: "Output Stackdriver compatible logs to a given file.",
998998
Flag: "log-stackdriver",
999-
Env: "LOG_STACKDRIVER",
999+
Env: "LOGGING_STACKDRIVER",
10001000
Default: "",
10011001
Value: &c.Logging.Stackdriver,
10021002
Group: &DeploymentGroupIntrospectionLogging,

0 commit comments

Comments
 (0)