Commit 6991813
authored
fix: use DD_ENV for PinoLogger environment field (#152)
Prefer DD_ENV (set by Terraform per environment) over NODE_ENV which is
always "production" in all deployed environments, causing logs to show
the wrong environment in Datadog.1 parent 4c4b989 commit 6991813
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments