Log entry with access log start time
@@ -123,9 +123,7 @@ func (log *AccessLog) ServeHTTP(rw http.ResponseWriter, req *http.Request, nextH
"method": reqCtx.Method,
"proto": reqCtx.Proto,
"request": requestFields,
- "timestamp": startTime.UTC(),
"uid": uniqueID,
- "timings": timings,
}
if log.conf.TypeFieldKey != "" {
@@ -193,6 +191,7 @@ func (log *AccessLog) ServeHTTP(rw http.ResponseWriter, req *http.Request, nextH
} else {
entry = log.logger.WithFields(logrus.Fields(fields))
}
+ entry.Time = startTime
if statusRecorder.status == http.StatusInternalServerError || err != nil {
if err != nil {
