-
Notifications
You must be signed in to change notification settings - Fork 48
Add structured JSON request and payment logging #162
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestgoPull requests that update go codePull requests that update go codelevel:intermediateModerate scope requiring project familiarity or cross-file changes.Moderate scope requiring project familiarity or cross-file changes.type:devopsDeployment, observability, operations, CI, or infrastructure work.Deployment, observability, operations, CI, or infrastructure work.type:testingTests, coverage, fixtures, or validation-only work.Tests, coverage, fixtures, or validation-only work.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgoPull requests that update go codePull requests that update go codelevel:intermediateModerate scope requiring project familiarity or cross-file changes.Moderate scope requiring project familiarity or cross-file changes.type:devopsDeployment, observability, operations, CI, or infrastructure work.Deployment, observability, operations, CI, or infrastructure work.type:testingTests, coverage, fixtures, or validation-only work.Tests, coverage, fixtures, or validation-only work.
Summary
Add structured JSON request and payment logging to the Go gateway while preserving current correlation ID behavior and avoiding sensitive data leaks.
Current State
The gateway currently uses Gin logging, correlation IDs, and targeted
log.Printfcalls. That is useful for local debugging but not enough for production log querying, alerting, or payment-flow analytics.Desired Behavior
Acceptance Criteria
Replaces #14, whose examples used old chain defaults and did not account for the current correlation/error handling already in place.