Skip to content

Commit

Permalink
Change log level (#31)
Browse files Browse the repository at this point in the history
Signed-off-by: Zheng Xiangsheng <hundundm@gmail.com>
  • Loading branch information
HunDunDM authored Feb 14, 2020
1 parent 046d1c6 commit 17b157b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/keyvisual/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
2 changes: 1 addition & 1 deletion pkg/keyvisual/storage/region.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 17b157b

Please sign in to comment.