aboutsummaryrefslogtreecommitdiff
path: root/weed/server/volume_server_handlers_read.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-01-24 17:26:03 -0800
committerChris Lu <chris.lu@gmail.com>2020-01-24 17:26:03 -0800
commite6f9f5da3a7fc9dfcd0363a98f1977c1578b00d2 (patch)
tree9491cb12b86f32c2bc2e9e6604dc377c1a402bf6 /weed/server/volume_server_handlers_read.go
parent24f62ebe76bed4617395616c24378b129a9c1bc7 (diff)
downloadseaweedfs-e6f9f5da3a7fc9dfcd0363a98f1977c1578b00d2.tar.xz
seaweedfs-e6f9f5da3a7fc9dfcd0363a98f1977c1578b00d2.zip
adjust logging
Diffstat (limited to 'weed/server/volume_server_handlers_read.go')
-rw-r--r--weed/server/volume_server_handlers_read.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/server/volume_server_handlers_read.go b/weed/server/volume_server_handlers_read.go
index cd11356b9..d89d13a0d 100644
--- a/weed/server/volume_server_handlers_read.go
+++ b/weed/server/volume_server_handlers_read.go
@@ -54,7 +54,7 @@ func (vs *VolumeServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request)
return
}
- glog.V(4).Infoln("volume", volumeId, "reading", n)
+ // glog.V(4).Infoln("volume", volumeId, "reading", n)
hasVolume := vs.store.HasVolume(volumeId)
_, hasEcVolume := vs.store.FindEcVolume(volumeId)
if !hasVolume && !hasEcVolume {
@@ -88,7 +88,7 @@ func (vs *VolumeServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request)
} else if hasEcVolume {
count, err = vs.store.ReadEcShardNeedle(context.Background(), volumeId, n)
}
- glog.V(4).Infoln("read bytes", count, "error", err)
+ // glog.V(4).Infoln("read bytes", count, "error", err)
if err != nil || count < 0 {
glog.V(0).Infof("read %s isNormalVolume %v error: %v", r.URL.Path, hasVolume, err)
w.WriteHeader(http.StatusNotFound)