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:
Leo 2022-01-25 13:26:57 +01:00 committed by Leopold Schabel
parent 68bdd4b0b6
commit 07c599ab68
1 changed files with 1 additions and 1 deletions

View File

@ -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 {