feat: add HTTP request headers and response status/headers to trace logs#518
Merged
Merged
Conversation
Contributor
Author
mcowger
requested changes
May 24, 2026
Owner
mcowger
left a comment
There was a problem hiding this comment.
This is a good effort, thank you.
Howeverm the intent of the 'recontructed' views is to have a valid JSON response. Adding hte headers breaks that scenario.
I agree with storing this data, however it needs to be in a separate field.
Closes mcowger#444 - Add requestHeaders, responseHeaders, responseStatus columns to debug_logs - Capture sanitized request headers in startLog() across all route handlers - Capture response metadata via addResponseMeta() at all dispatch paths - Extract sanitize-headers utility from dispatcher private method - Add Request Headers and Response Headers accordion panels in frontend - Include new fields in debug log export/download payloads - Add DB migrations for SQLite and Postgres
e51702d to
0910a6b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Closes #444
Enhance debug trace functionality to capture complete HTTP request and response metadata:
Request logging:
Response logging:
Changes: