Dont include request path in the log twice

This commit is contained in:
Dan Sosedoff 2022-12-06 12:14:55 -06:00
parent dbd3b26f6c
commit dda70352c0
No known key found for this signature in database
GPG Key ID: 26186197D282B164

View File

@ -68,7 +68,7 @@ func RequestLogger(logger *logrus.Logger) gin.HandlerFunc {
}
entry := logger.WithFields(fields)
msg := "http_request " + path
msg := "http_request"
switch {
case status >= http.StatusBadRequest && status < http.StatusInternalServerError: