Skip to content

feat(log): Add http header fields to request logging - #245

Merged
jbelo merged 2 commits into
masterfrom
jbelo/sc-188736/log-request-id-header
Jul 22, 2026
Merged

feat(log): Add http header fields to request logging#245
jbelo merged 2 commits into
masterfrom
jbelo/sc-188736/log-request-id-header

Conversation

@jbelo

@jbelo jbelo commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Adds default HTTP request logging support for x-request-id, recording it as request_id when present. Adds also configurable HTTP header-to-log-field support for other headers via WithHTTPHeaderFields, preserves existing behavior when headers are absent or no options are configured.

@jbelo jbelo changed the title feat: add http header fields to request logging feat: Add http header fields to request logging Jul 13, 2026
@jbelo jbelo changed the title feat: Add http header fields to request logging feat(log): Add http header fields to request logging Jul 13, 2026
@jbelo
jbelo requested review from Fumesover, illi-j and wdullaer July 13, 2026 11:07
@Fumesover
Fumesover requested review from a team and removed request for Fumesover July 13, 2026 11:09
@Shillaker
Shillaker force-pushed the jbelo/sc-188736/log-request-id-header branch from cee9597 to 0560ade Compare July 21, 2026 13:09
@jbelo
jbelo merged commit 0060ea8 into master Jul 22, 2026
10 checks passed
@jbelo
jbelo deleted the jbelo/sc-188736/log-request-id-header branch July 22, 2026 08:32
@jbelo jbelo self-assigned this Jul 22, 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.

3 participants