stores: Reduce log spam during retrievals
This commit is contained in:
parent
b7912cbe0b
commit
ba3c96f8c6
1
extern/sector-storage/stores/http_handler.go
vendored
1
extern/sector-storage/stores/http_handler.go
vendored
@ -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"])
|
||||
|
1
extern/sector-storage/stores/remote.go
vendored
1
extern/sector-storage/stores/remote.go
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user