SIGN IN SIGN UP
gin-gonic / gin UNCLAIMED

Gin is a high-performance HTTP web framework written in Go. It provides a Martini-like API but with significantly better performance—up to 40 times faster—thanks to httprouter. Gin is designed for building REST APIs, web applications, and microservices.

0 0 3 Go

chore(logger): allow skipping query string output (#4547)

This is useful for APIs that might have sensitive information in the query string, such as API keys.

This patch does not change the default behavior of the code unless the new `SkipQueryString` config option is passed in.

The "skip" term is a bit of a misnomer here, as this doesn't actually skip that log, but modifies the output. I'm open to suggestions for a more appropriate name.

Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
J
Jacob McSwain committed
db309081bc5c137b2aa15701ef53f7f19788da25
Parent: ba093d1
Committed by GitHub <noreply@github.com> on 2/27/2026, 3:33:46 PM