-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Mapped Diagnostic Context #532
Comments
Is it something like this - #353 ? |
Yes, that's the same. I implemented this on my own, but not using shared_ptr to map. I used static thread_local field map in property_formatter to enable setting different propertied from different threads. And due to this solution, it works only using synchronous loggers. |
See proposition for implementation in pull request #534 |
Can anyone please explain what is the state of this enhancement ? Also, will the enhancement is being planned for asynchronous loggers as well ? |
implemented in #2907 |
Have you ever thought about implementing Mapped Diagnostic Context?
It's nice way to log information based on specifier %X{key}. There is map which translates this specified to given value, if given. https://logback.qos.ch/manual/mdc.html
The text was updated successfully, but these errors were encountered: