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

Add custom attributes to log messages #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xperimental
Copy link

From looking at the current implementation it looks to me like there is no way of attaching arbitrary information to a log message aside from using the MDC, which groups all the information under details and also looks like it only works properly if a single request is not multiplexed across multiple threads.

This pull-request provides a simple implementation for attaching custom information to a log entry.

@xperimental xperimental force-pushed the custom-attributes branch 2 times, most recently from 64e381c to 97e0d49 Compare June 21, 2021 17:41
@xperimental
Copy link
Author

Any opinion on this?

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

1 participant