From f6d547d32dbff41767f50bac8a7a8d3f15ea7df7 Mon Sep 17 00:00:00 2001 From: Tom Wilkie <tom.wilkie@gmail.com> Date: Thu, 31 Jan 2019 11:07:46 +0000 Subject: [PATCH] Don't log request body. Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com> --- pkg/loki/loki.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/loki/loki.go b/pkg/loki/loki.go index ce08d4b0..cbc88a75 100644 --- a/pkg/loki/loki.go +++ b/pkg/loki/loki.go @@ -42,6 +42,7 @@ type Config struct { func (c *Config) RegisterFlags(f *flag.FlagSet) { c.Server.MetricsNamespace = "loki" c.Target = All + c.Server.ExcludeRequestInLog = true f.Var(&c.Target, "target", "target module (default All)") f.BoolVar(&c.AuthEnabled, "auth.enabled", true, "Set to false to disable auth.") -- GitLab