[ARVADOS] updated: 5e1326a931e8a852e502a5cd1ac020f5cf407d00

git at public.curoverse.com git at public.curoverse.com
Thu Dec 17 13:50:48 EST 2015


Summary of changes:
 services/keepstore/logging_router.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  5e1326a931e8a852e502a5cd1ac020f5cf407d00 (commit)
      from  0d66f5f5c5173f0faad6318a9ac87d11964e5748 (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 5e1326a931e8a852e502a5cd1ac020f5cf407d00
Author: Tom Clegg <tom at curoverse.com>
Date:   Thu Dec 17 13:50:01 2015 -0500

    Log request body size. No issue #

diff --git a/services/keepstore/logging_router.go b/services/keepstore/logging_router.go
index a97f271..9edfb6e 100644
--- a/services/keepstore/logging_router.go
+++ b/services/keepstore/logging_router.go
@@ -65,6 +65,6 @@ func (loggingRouter *LoggingRESTRouter) ServeHTTP(resp http.ResponseWriter, req
 	tTotal := now.Sub(t0)
 	tLatency := loggingWriter.sentHdr.Sub(t0)
 	tResponse := now.Sub(loggingWriter.sentHdr)
-	log.Printf("[%s] %s %s %.6fs %.6fs %.6fs %d %d \"%s\"", req.RemoteAddr, req.Method, req.URL.Path[1:], tTotal.Seconds(), tLatency.Seconds(), tResponse.Seconds(), loggingWriter.Status, loggingWriter.Length, statusText)
+	log.Printf("[%s] %s %s %d %.6fs %.6fs %.6fs %d %d \"%s\"", req.RemoteAddr, req.Method, req.URL.Path[1:], req.ContentLength, tTotal.Seconds(), tLatency.Seconds(), tResponse.Seconds(), loggingWriter.Status, loggingWriter.Length, statusText)
 
 }

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list