Skip to content

Commit

Permalink
remove logging ip
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottminns committed Nov 14, 2024
1 parent 3afc912 commit 2de8b07
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/middleware/logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ func logging(logger *slog.Logger, next http.Handler) http.Handler {
slog.String("path", r.URL.Path),
slog.Int64("duration_ns", duration.Nanoseconds()),
slog.Int("status", wrapped.statusCode),
slog.String("remote_addr", r.RemoteAddr),
slog.String("x-forwarded-for", r.Header.Get("X-Forwarded-For")),
)
})
}
Expand Down

0 comments on commit 2de8b07

Please sign in to comment.