[PR #681] [MERGED] gin: less noisy logging by excluding certain paths via regex and excluding localhost all together #683

Open
opened 2025-10-08 00:15:11 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pocket-id/pocket-id/pull/681
Author: @11notes
Created: 6/26/2025
Status: Merged
Merged: 6/27/2025
Merged by: @stonith404

Base: mainHead: main


📝 Commits (7)

📊 Changes

1 file changed (+21 additions, -1 deletions)

View changed files

📝 backend/internal/bootstrap/router_bootstrap.go (+21 -1)

📄 Description

gin: less noisy logging by excluding certain paths via regex and excluding localhost all together


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/pocket-id/pocket-id/pull/681 **Author:** [@11notes](https://github.com/11notes) **Created:** 6/26/2025 **Status:** ✅ Merged **Merged:** 6/27/2025 **Merged by:** [@stonith404](https://github.com/stonith404) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (7) - [`fa015b4`](https://github.com/pocket-id/pocket-id/commit/fa015b4b463ebb5b22c465b589369e75be68f3f6) chore: gin logging less noisy and no logging for localhost (internal access like health check) - [`10b84a4`](https://github.com/pocket-id/pocket-id/commit/10b84a47b56fde1fed273ccab955a9d6c90ceffd) Merge branch 'main' into main - [`25f75fd`](https://github.com/pocket-id/pocket-id/commit/25f75fd5d5fc5a449eb5a4226dcfd39836fb793c) feature: less noisy logging for gin - [`aa910c2`](https://github.com/pocket-id/pocket-id/commit/aa910c20db528a96b556e806fdaa50e6d4aa1071) Merge branch 'main' of https://github.com/11notes/fork-pocket-id - [`7bcfb7a`](https://github.com/pocket-id/pocket-id/commit/7bcfb7aa507e09f0b708378445e1ede2560e7411) fix: strings.HasPrefix instead of regexp - [`e37c443`](https://github.com/pocket-id/pocket-id/commit/e37c4436c7c370a53072a87f85b16fcd18ce5601) optimize: swap fmt for normal concat - [`39b4e3e`](https://github.com/pocket-id/pocket-id/commit/39b4e3e5639697d7ec245512ec275c7013a92a4f) refactor: run formatter ### 📊 Changes **1 file changed** (+21 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `backend/internal/bootstrap/router_bootstrap.go` (+21 -1) </details> ### 📄 Description gin: less noisy logging by excluding certain paths via regex and excluding localhost all together --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2025-10-08 00:15:11 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id-pocket-id-1#683