From c76d271c6f1c3aff957b6dfc91649ed2b52eaf13 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Wed, 15 Apr 2020 11:12:30 +0100 Subject: [PATCH] DENDRITE_TRACE_HTTP is better --- common/httpapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/httpapi.go b/common/httpapi.go index f03e4beba..9eb04f5ac 100644 --- a/common/httpapi.go +++ b/common/httpapi.go @@ -47,7 +47,7 @@ func MakeExternalAPI(metricsName string, f func(*http.Request) util.JSONResponse // TODO: We shouldn't be directly reading env vars here, inject it in instead. // Refactor this when we split out config structs. verbose := true - if os.Getenv("DENDRITE_TRACE") == "1" { + if os.Getenv("DENDRITE_TRACE_HTTP") == "1" { verbose = true } h := util.MakeJSONAPI(util.NewJSONRequestHandler(f))