node/pkg/telemetry: reduce log level to INFO
It appears that GCP Cloud Logging cannot handle the volume of logs we're throwing at it... full text search slows to a crawl (LOL) Reduce log level until we can move to something else. commit-id:b71c3467
This commit is contained in:
parent
68bdd4b0b6
commit
07c599ab68
|
@ -85,7 +85,7 @@ func (s *Telemetry) WrapLogger(logger *zap.Logger) *zap.Logger {
|
||||||
tc := zapcore.NewCore(
|
tc := zapcore.NewCore(
|
||||||
s.encoder,
|
s.encoder,
|
||||||
zapcore.AddSync(ioutil.Discard),
|
zapcore.AddSync(ioutil.Discard),
|
||||||
zap.DebugLevel,
|
zap.InfoLevel,
|
||||||
)
|
)
|
||||||
|
|
||||||
return logger.WithOptions(zap.WrapCore(func(core zapcore.Core) zapcore.Core {
|
return logger.WithOptions(zap.WrapCore(func(core zapcore.Core) zapcore.Core {
|
||||||
|
|
Loading…
Reference in New Issue