[ARVADOS] updated: 9a86712b5b6ca3490739e5b75d809be4c853e9a3
git at public.curoverse.com
git at public.curoverse.com
Wed May 21 11:42:35 EDT 2014
Summary of changes:
services/keep/src/keep/keep.go | 5 +++++
1 file changed, 5 insertions(+)
via 9a86712b5b6ca3490739e5b75d809be4c853e9a3 (commit)
from 2768b056f5d99952d2d2c4ba8cd1dfbb898901e3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 9a86712b5b6ca3490739e5b75d809be4c853e9a3
Author: Ward Vandewege <ward at curoverse.com>
Date: Wed May 21 11:42:05 2014 -0400
Add some basic request logging to Keep.
diff --git a/services/keep/src/keep/keep.go b/services/keep/src/keep/keep.go
index 7c41737..e01d45c 100644
--- a/services/keep/src/keep/keep.go
+++ b/services/keep/src/keep/keep.go
@@ -304,6 +304,9 @@ func FindKeepVolumes() []string {
func GetBlockHandler(resp http.ResponseWriter, req *http.Request) {
hash := mux.Vars(req)["hash"]
+
+ log.Printf("%s %s", req.Method, hash)
+
signature := mux.Vars(req)["signature"]
timestamp := mux.Vars(req)["timestamp"]
@@ -344,6 +347,8 @@ func GetBlockHandler(resp http.ResponseWriter, req *http.Request) {
func PutBlockHandler(resp http.ResponseWriter, req *http.Request) {
hash := mux.Vars(req)["hash"]
+ log.Printf("%s %s", req.Method, hash)
+
// Read the block data to be stored.
// If the request exceeds BLOCKSIZE bytes, issue a HTTP 500 error.
//
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list