Skip to content

Commit

Permalink
chore: update logging environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ericnorris committed Aug 31, 2021
1 parent 9a0dbb8 commit 865c249
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Simply navigate to any folder that contains Terraform configuration and run `ter

### Logging

Setting the `DEMUX_LOG` environment variable to any non-empty value will cause `terraform-demux` to write out debug logs to `stderr`.
Setting the `TF_DEMUX_LOG` environment variable to any non-empty value will cause `terraform-demux` to write out debug logs to `stderr`.

## Cache Directory

Expand Down
2 changes: 1 addition & 1 deletion cmd/terraform-demux/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var (
)

func main() {
if os.Getenv("DEMUX_LOG") == "" {
if os.Getenv("TF_DEMUX_LOG") == "" {
log.SetOutput(ioutil.Discard)
}

Expand Down

0 comments on commit 865c249

Please sign in to comment.