瀏覽代碼

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
Leo 3 年之前
父節點
當前提交
07c599ab68
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      node/pkg/telemetry/telemetry.go

+ 1 - 1
node/pkg/telemetry/telemetry.go

@@ -85,7 +85,7 @@ func (s *Telemetry) WrapLogger(logger *zap.Logger) *zap.Logger {
 	tc := zapcore.NewCore(
 		s.encoder,
 		zapcore.AddSync(ioutil.Discard),
-		zap.DebugLevel,
+		zap.InfoLevel,
 	)
 
 	return logger.WithOptions(zap.WrapCore(func(core zapcore.Core) zapcore.Core {