Skip to content

Allow structured logging with relocated or disabled context elements #45218

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

Closed
philwebb opened this issue Apr 16, 2025 · 0 comments
Closed

Allow structured logging with relocated or disabled context elements #45218

philwebb opened this issue Apr 16, 2025 · 0 comments
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@philwebb
Copy link
Member

philwebb commented Apr 16, 2025

Our structure logging currently always adds MDC items. It's possible that user doesn't want them so we should offer a property to disable the feature. We could also offer a way to locate MDC content under a different key (e.g. under labels in ECS logging.

@philwebb philwebb self-assigned this Apr 16, 2025
@philwebb philwebb changed the title Allow structured logging without context elements Allow structured logging with relocated or disabled context elements Apr 16, 2025
@philwebb philwebb added the type: enhancement A general enhancement label Apr 17, 2025
@philwebb philwebb added this to the 3.5.0-RC1 milestone Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant