Skip to content

Feat/request#215

Merged
Userunknown84 merged 4 commits into
Userunknown84:mainfrom
Aharshi3614:feat/request_id
Jun 23, 2026
Merged

Feat/request#215
Userunknown84 merged 4 commits into
Userunknown84:mainfrom
Aharshi3614:feat/request_id

Conversation

@Aharshi3614

@Aharshi3614 Aharshi3614 commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Closes #207

Added Request ID to logs for better request tracking and debugging.

Changes:

  • Added middleware to generate unique ID per request
  • Request ID included in all request/response logs
  • X-Request-ID header returned in all responses

Log Output Before:

Reached /predict
Received: Hello
Calling Flask...
Flask responded: ham

Log Output After:

[a7b3f1c2] ➡️ POST /predict started
[a7b3f1c2] Reached /predict
[a7b3f1c2] Received: Hello
[a7b3f1c2] Calling Flask...
[a7b3f1c2] Flask responded: ham
[a7b3f1c2] ⬅️ POST /predict completed in 45ms (200)

@vercel

vercel Bot commented Jun 23, 2026

Copy link
Copy Markdown

@Aharshi3614 is attempting to deploy a commit to the Aditya Sharma's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added the Hard label Jun 23, 2026
@Userunknown84 Userunknown84 merged commit ed68b82 into Userunknown84:main Jun 23, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Request ID to Logs

2 participants