Skip to content

Commit 329e5cc

Browse files
authored
fix: change failed query to debug instead of warn (#2745)
1 parent 14580e0 commit 329e5cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

router/internal/requestlogger/requestlogger.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ func (al *accessLogger) getRequestFields(r *http.Request, logger *zap.Logger) []
233233
if err != nil {
234234
// We ignore logging the err since it could leak partial sensitive data
235235
// such as %pa from "%password"
236-
logger.Warn("Failed to parse query parameters")
236+
logger.Debug("Failed to parse query parameters")
237237
// Since we wanted to ignore some values but we cant parse it
238238
// we default to a safer skip all
239239
query = ""

0 commit comments

Comments
 (0)