Skip to content

Commit a02b72e

Browse files
committed
only print map not bytes
1 parent 5c3a6e9 commit a02b72e

File tree

1 file changed

+1
-1
lines changed
  • internals/proxy/middlewares

1 file changed

+1
-1
lines changed

internals/proxy/middlewares/log.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func loggingHandler(next http.Handler) http.Handler {
1919
} else {
2020
body, _ := request.GetReqBody(req)
2121

22-
log.Dev(req.Method, " ", req.URL.Path, " ", req.URL.RawQuery, body)
22+
log.Dev(req.Method, " ", req.URL.Path, " ", req.URL.RawQuery, body.Data)
2323
}
2424

2525
next.ServeHTTP(w, req)

0 commit comments

Comments
 (0)