diff --git a/weed/util/http_util.go b/weed/util/http_util.go index fdebd2cdf..384da6df8 100644 --- a/weed/util/http_util.go +++ b/weed/util/http_util.go @@ -416,7 +416,7 @@ func CloseResponse(resp *http.Response) { resp.Body.Close() if reader.BytesRead > 0 { if resp.Request != nil && resp.Request.URL != nil { - glog.V(1).Infof("response leftover %d bytes, url: %s", resp.Request.URL.RequestURI()) + glog.V(1).Infof("response leftover %d bytes, url: %s", reader.BytesRead, resp.Request.URL.RequestURI()) } else { glog.V(1).Infof("response leftover %d bytes", reader.BytesRead) }