[ARVADOS] updated: 2a1978f10b7dff4f239eb868648f404f070fccc3

Git user git at public.curoverse.com
Wed Dec 7 11:43:32 EST 2016


Summary of changes:
 services/ws/router.go | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

       via  2a1978f10b7dff4f239eb868648f404f070fccc3 (commit)
      from  2a62b82e96a6f56357e913117e04c36b1ccf7585 (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 2a1978f10b7dff4f239eb868648f404f070fccc3
Author: Tom Clegg <tom at curoverse.com>
Date:   Wed Dec 7 11:43:27 2016 -0500

    8460: Tweak logging keys, more similar to keepstore.

diff --git a/services/ws/router.go b/services/ws/router.go
index 974459f..0ad8d7c 100644
--- a/services/ws/router.go
+++ b/services/ws/router.go
@@ -75,8 +75,8 @@ func (rtr *router) makeServer(newSession sessionFactory) *websocket.Server {
 				})
 
 			log.WithFields(logrus.Fields{
-				"Elapsed": time.Now().Sub(t0).Seconds(),
-				"Stats":   stats,
+				"elapsed": time.Now().Sub(t0).Seconds(),
+				"stats":   stats,
 			}).Info("disconnect")
 			ws.Close()
 		}),
@@ -121,8 +121,8 @@ func (rtr *router) ServeHTTP(resp http.ResponseWriter, req *http.Request) {
 	ctx := contextWithLogger(req.Context(), logger)
 	req = req.WithContext(ctx)
 	logger.WithFields(logrus.Fields{
-		"RemoteAddr":      req.RemoteAddr,
-		"X-Forwarded-For": req.Header.Get("X-Forwarded-For"),
+		"remoteAddr":      req.RemoteAddr,
+		"reqForwardedFor": req.Header.Get("X-Forwarded-For"),
 	}).Info("accept request")
 	rtr.mux.ServeHTTP(resp, req)
 }

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list