stores: Reduce log spam during retrievals

This commit is contained in:
Łukasz Magiera 2021-12-10 11:28:04 +01:00 committed by Jennifer Wang
parent b7912cbe0b
commit ba3c96f8c6
2 changed files with 0 additions and 2 deletions

View File

@ -84,7 +84,6 @@ func (handler *FetchHandler) remoteStatFs(w http.ResponseWriter, r *http.Request
// remoteGetSector returns the sector file/tared directory byte stream for the sectorID and sector file type sent in the request.
// returns an error if it does NOT have the required sector file/dir.
func (handler *FetchHandler) remoteGetSector(w http.ResponseWriter, r *http.Request) {
log.Infof("SERVE GET %s", r.URL)
vars := mux.Vars(r)
id, err := storiface.ParseSectorID(vars["id"])

View File

@ -719,7 +719,6 @@ func (r *Remote) Reader(ctx context.Context, s storage.SectorRef, offset, size a
log.Warnw("reading from remote", "url", url, "error", err)
return nil, err
}
log.Infof("Read remote %s (+%d,%d)", url, offset, size)
return rd, err
}, nil