srijeet0406 commented on code in PR #6881:
URL: https://github.com/apache/trafficcontrol/pull/6881#discussion_r888396645
##########
traffic_ops/traffic_ops_golang/routing/middleware/wrappers.go:
##########
@@ -212,7 +212,8 @@ func WrapAccessLog(secret string, h http.Handler)
http.HandlerFunc {
imsType = IMSMISS
}
}
- log.EventfRaw(`%s - %s [%s] "%v %v?%v %s" %v %v %v "%v"
%v %s`, r.RemoteAddr, user, time.Now().Format(AccessLogTimeFormat), r.Method,
r.URL.Path, r.URL.RawQuery, r.Proto, iw.Code, iw.ByteCount,
int(time.Now().Sub(start)/time.Millisecond), r.UserAgent(),
r.Context().Value(RouteID), imsType)
+ routeID, _ := r.Context().Value(RouteID).(int)
Review Comment:
ugh, can't believe I pushed without testing, my bad. Should be done now.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]