Reduce Log Messages on Production Settings (#1396)

* Reduce Tally Log Messages on Production Settings

* Reduce Logging in Piecestore Client as well
This commit is contained in:
Stefan Benten 2019-03-04 11:12:43 +01:00 committed by GitHub
parent a30ba4eca8
commit 5f57d2c906
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -163,7 +163,6 @@ func (t *Tally) calculateAtRestData(ctx context.Context) (latestTally time.Time,
} }
pieceSize := segmentSize / int64(minReq) pieceSize := segmentSize / int64(minReq)
for _, piece := range pieces { for _, piece := range pieces {
t.logger.Info("found piece on Node ID" + piece.NodeId.String())
nodeData[piece.NodeId] += float64(pieceSize) nodeData[piece.NodeId] += float64(pieceSize)
} }
} }

View File

@ -82,7 +82,7 @@ func (s *StreamWriter) Close() error {
s.storagenodeHash = reply.SignedHash s.storagenodeHash = reply.SignedHash
zap.S().Debugf("Stream close and recv summary: %v", reply) zap.S().Debugf("Stream close and recv summary: %s, %d", reply.Message, reply.TotalReceived)
return nil return nil
} }