diff --git a/pkg/loki/loki.go b/pkg/loki/loki.go index ce08d4b071b5046edd40edbc36e1aeaf0267c572..cbc88a753c0a2cf82e1ec476adc82185c980e270 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.")