From 17b157bc654fdfed080ba574dc50e1e4f90f84ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B7=B7=E6=B2=8CDM?= Date: Fri, 14 Feb 2020 23:38:51 +0800 Subject: [PATCH] Change log level (#31) Signed-off-by: Zheng Xiangsheng --- pkg/keyvisual/service.go | 2 +- pkg/keyvisual/storage/region.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/keyvisual/service.go b/pkg/keyvisual/service.go index 743f9c6342..1398000ff9 100644 --- a/pkg/keyvisual/service.go +++ b/pkg/keyvisual/service.go @@ -134,7 +134,7 @@ func (s *Service) heatmapsHandler(c *gin.Context) { return } - log.Info("Request matrix", + log.Debug("Request matrix", zap.Time("start-time", startTime), zap.Time("end-time", endTime), zap.String("start-key", startKey), diff --git a/pkg/keyvisual/storage/region.go b/pkg/keyvisual/storage/region.go index 545de0de63..5d84dd2859 100644 --- a/pkg/keyvisual/storage/region.go +++ b/pkg/keyvisual/storage/region.go @@ -47,7 +47,7 @@ func CreateStorageAxis(regions region.RegionsInfo, strategy matrix.Strategy) mat wash(&preAxis) axis := IntoStorageAxis(preAxis, strategy) - log.Info("New StorageAxis", zap.Int("region length", regionsLen), zap.Int("focus keys length", len(axis.Keys))) + log.Debug("New StorageAxis", zap.Int("region length", regionsLen), zap.Int("focus keys length", len(axis.Keys))) return axis }