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:
parent
a30ba4eca8
commit
5f57d2c906
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user