aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2018-11-22 00:42:56 -0800
committerChris Lu <chris.lu@gmail.com>2018-11-22 00:42:56 -0800
commit0ed816d4e9a7dc33f4ebc9286ff7f2d069f8f1bd (patch)
tree50f34310a03a80ecf74bae5f2e693b88306a2767
parentfb1ed0e30d98e679d3f85e829881c95df50b0161 (diff)
downloadseaweedfs-0ed816d4e9a7dc33f4ebc9286ff7f2d069f8f1bd.tar.xz
seaweedfs-0ed816d4e9a7dc33f4ebc9286ff7f2d069f8f1bd.zip
formatting error log
-rw-r--r--weed/server/volume_server_handlers_read.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/server/volume_server_handlers_read.go b/weed/server/volume_server_handlers_read.go
index aa6dff087..cbd9bf0e7 100644
--- a/weed/server/volume_server_handlers_read.go
+++ b/weed/server/volume_server_handlers_read.go
@@ -73,7 +73,7 @@ func (vs *VolumeServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request)
return
}
if n.Cookie != cookie {
- glog.V(0).Infoln("request", r.URL.Path, "with unmaching cookie seen:", cookie, "expected:", n.Cookie, "from", r.RemoteAddr, "agent", r.UserAgent())
+ glog.V(0).Infof("request %s with cookie:%x expected:%x from %s agent %s", r.URL.Path, cookie, n.Cookie, r.RemoteAddr, r.UserAgent())
w.WriteHeader(http.StatusNotFound)
return
}