Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow alternate name for request id in logs #1950

Merged
merged 1 commit into from
Jun 18, 2023

Conversation

josephharrington
Copy link
Contributor

Right now the child loggers add the request id attribute under the field name req_id. This change adds an option to override the field name.

This allows more customizable logs for easier integration with backend logging frameworks.

Right now the child loggers add the request id attribute under the field
name `req_id`. This change adds an option to override the field name.

This allows more customizable logs for easier integration with backend
logging frameworks.
@mmarchini mmarchini force-pushed the support-custom-reqid-logger-attr branch from 8e44125 to a8a862f Compare June 18, 2023 17:02
@mmarchini mmarchini merged commit cbd16ef into master Jun 18, 2023
5 checks passed
@mmarchini mmarchini deleted the support-custom-reqid-logger-attr branch June 18, 2023 18:59
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.

None yet

2 participants