Skip to content

feat(gateway): log upstream requests and responses - #5366

Open
vhuk2025 wants to merge 1 commit into
Wei-Shaw:mainfrom
vhuk2025:feat/gateway-upstream-debug-logging
Open

feat(gateway): log upstream requests and responses#5366
vhuk2025 wants to merge 1 commit into
Wei-Shaw:mainfrom
vhuk2025:feat/gateway-upstream-debug-logging

Conversation

@vhuk2025

@vhuk2025 vhuk2025 commented Aug 7, 2026

Copy link
Copy Markdown

Summary

  • share a concurrency-safe gateway debug logger between gateway snapshots and HTTP upstream requests
  • log redacted upstream request/response metadata and streamed bodies without consuming them

Testing

  • GOCACHE=/tmp/sub2api-go-build go test ./internal/repository ./internal/service ./internal/pkg/gatewaydebug

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA. ✅
Posted by the CLA Assistant Lite bot.

@vhuk2025

vhuk2025 commented Aug 7, 2026

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

github-actions Bot added a commit that referenced this pull request Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant