Skip to content

Commit

Permalink
Merge pull request #559 from openinfradev/test1
Browse files Browse the repository at this point in the history
trivial. rollback
  • Loading branch information
ktkfree authored Nov 25, 2024
2 parents d535fe1 + c77e00d commit e0b5030
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 e0b5030

Please sign in to comment.