Skip to content

Commit

Permalink
we control this value
Browse files Browse the repository at this point in the history
  • Loading branch information
wass3r committed Jun 29, 2024
1 parent 3922bb9 commit 2b27d74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion router/middleware/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func Logger(logger *logrus.Logger, timeFormat string) gin.HandlerFunc {

fields := logrus.Fields{
"ip": util.EscapeValue(c.ClientIP()),
"id": util.EscapeValue(c.GetHeader("X-Request-ID")),
"id": c.GetHeader("X-Request-ID"),
"path": path,
}

Expand Down

0 comments on commit 2b27d74

Please sign in to comment.