Skip to content

Commit

Permalink
trivial. rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
taekyu.kang committed Nov 25, 2024
1 parent 515d9d6 commit c77e00d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/middleware/logging/logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ func LoggingMiddleware(next http.Handler) http.Handler {
body, err := io.ReadAll(r.Body)
if err == nil {
log.Infof(r.Context(), fmt.Sprintf("REQUEST BODY : %v", bytes.NewBuffer(body)))
log.Infof(r.Context(), fmt.Sprintf("REQUEST BODY : %v", bytes.NewBuffer(body).String()))
}
r.Body = io.NopCloser(bytes.NewBuffer(body))
lrw := NewLoggingResponseWriter(w)
Expand Down

0 comments on commit c77e00d

Please sign in to comment.