mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-10 01:10:42 +03:00
[PR #678] [MERGED] fix: remove duplicate request logging #669
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pocket-id/pocket-id/pull/678
Author: @ryankask
Created: 6/24/2025
Status: ✅ Merged
Merged: 6/24/2025
Merged by: @kmendell
Base:
main← Head:fix/remove-double-logging📝 Commits (1)
ac1e90cfix: remove duplicate request logging📊 Changes
1 file changed (+0 additions, -1 deletions)
View changed files
📝
backend/internal/bootstrap/router_bootstrap.go(+0 -1)📄 Description
Gin's default engine constructor already adds the logger by default: https://github.com/gin-gonic/gin/blob/v1.10.0/gin.go#L224
I noticed requests being logged twice in the logs and found some related issues in the Gin repo. This may be related to #294 where the user noticed excessive logging.
Before:
After:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.