mirror of
https://github.com/sosedoff/pgweb.git
synced 2024-12-14 19:21:46 +03:00
Dont include request path in the log twice
This commit is contained in:
parent
dbd3b26f6c
commit
dda70352c0
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user