mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
swarm/storage: downgrade debugs to traces
This commit is contained in:
parent
097651c2c7
commit
7b2a284e69
1 changed files with 2 additions and 2 deletions
|
|
@ -560,12 +560,12 @@ func (r *LazyChunkReader) join(ctx context.Context, b []byte, off int64, eoff in
|
|||
|
||||
// Read keeps a cursor so cannot be called simulateously, see ReadAt
|
||||
func (r *LazyChunkReader) Read(b []byte) (read int, err error) {
|
||||
log.Debug("lazychunkreader.read", "key", r.addr)
|
||||
log.Trace("lazychunkreader.read", "key", r.addr)
|
||||
metrics.GetOrRegisterCounter("lazychunkreader.read", nil).Inc(1)
|
||||
|
||||
read, err = r.ReadAt(b, r.off)
|
||||
if err != nil && err != io.EOF {
|
||||
log.Debug("lazychunkreader.readat", "read", read, "err", err)
|
||||
log.Trace("lazychunkreader.readat", "read", read, "err", err)
|
||||
metrics.GetOrRegisterCounter("lazychunkreader.read.err", nil).Inc(1)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue