mirror of
https://github.com/langgenius/dify-sandbox.git
synced 2026-07-25 21:46:12 -04:00
[PR #191] fix: resolve duplicate logging #194
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/langgenius/dify-sandbox/pull/191
Author: @xAI-Infra
Created: 11/17/2025
Status: 🔄 Open
Base:
main← Head:logfix📝 Commits (2)
76d283ffix logger54edd88fix logger📊 Changes
1 file changed (+2 additions, -6 deletions)
View changed files
📝
internal/server/server.go(+2 -6)📄 Description
gin.Default()already includes theLoggermiddlewaregin.Logger()was added again, causing duplicate logsReproduction
[GIN] 2025/11/17 - 03:42:24 | 200 | 110.582µs | 172.17.0.1 | POST "/v1/sandbox/run"
[GIN] 2025/11/17 - 03:42:24 | 200 | 133.045µs | 172.17.0.1 | POST "/v1/sandbox/run"
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.