Avoid excessive gRPC logging (#9401)

**What this PR does / why we need it**:
Change the default value of `DisableRequestSuccessLog` to true. This way
Loki won't log every successful gRPC call by default. The log line isn't
useful either since it is redundant with existing gRPC metrics.

**Which issue(s) this PR fixes**:
N/A
pull/9404/head^2
Dylan Guedes 2 years ago committed by GitHub
parent c1052d704c
commit f5a20e4e96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/loki/loki.go

@ -191,6 +191,8 @@ func (c *Config) registerServerFlagsWithChangedDefaultValues(fs *flag.FlagSet) {
fs.Var(f.Value, f.Name, f.Usage)
})
c.Server.DisableRequestSuccessLog = true
}
// Clone takes advantage of pass-by-value semantics to return a distinct *Config.

Loading…
Cancel
Save