Skip to content

feat: add request IDs and structured JSON logs - #21

Merged
isthatpratham merged 2 commits into
mainfrom
feat/request-id-json-logs
Aug 30, 2026
Merged

feat: add request IDs and structured JSON logs#21
isthatpratham merged 2 commits into
mainfrom
feat/request-id-json-logs

Conversation

@isthatpratham

Copy link
Copy Markdown
Owner

Summary

  • Honor incoming X-Request-Id or generate one; echo it on every response
  • Structured JSON logs for upload/download success and failure, password rejects, 429, 5xx, cleanup, startup, and shutdown
  • Logger drops password, hash, authorization, cookie, body, and file fields

Testing

  • npm test — 74 tests passed
  • npm run build succeeded

isthatpratham and others added 2 commits August 31, 2026 04:52
Honor or generate X-Request-Id on every request and keep a small structured logger that never serializes passwords or file contents.

Co-authored-by: Cursor <cursoragent@cursor.com>
Record success, failure, password rejects, 429s, 5xx, cleanup, and startup/shutdown without logging secrets or file contents.

Co-authored-by: Cursor <cursoragent@cursor.com>
@isthatpratham
isthatpratham merged commit f178e39 into main Aug 30, 2026
1 check passed
@isthatpratham
isthatpratham deleted the feat/request-id-json-logs branch August 30, 2026 23:26
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