From bacf4f0fd4858a17bce9b1375f271f6958011f28 Mon Sep 17 00:00:00 2001 From: Justin Li Date: Wed, 23 Jul 2014 02:25:15 -0400 Subject: [PATCH] Add really really verbose log level --- http/http.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/http/http.go b/http/http.go index ff10aa3..aa94e10 100644 --- a/http/http.go +++ b/http/http.go @@ -45,11 +45,16 @@ func makeHandler(handler ResponseHandler) httprouter.Handle { duration, ) } else if glog.V(2) { + reqString := r.URL.Path + if glog.V(3) { + reqString = r.URL.RequestURI() + " for " + r.RemoteAddr + } + glog.Infof( "Completed (%v:%s) %s in %v", httpCode, http.StatusText(httpCode), - r.URL.Path, + reqString, duration, ) }