Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
TECH-12593:make global_context global, but just for that logger instance #72
TECH-12593:make global_context global, but just for that logger instance #72
Changes from 26 commits
94f7f24
501d802
dcb2dcc
fff5444
6c23619
de98517
2203516
e0f49aa
0905e49
27b2624
4d3798e
61552be
5f9f434
ccd6b3a
42446f0
690d464
461c886
c620d05
3f514af
7d1386e
81b2f83
b2d7ba5
d3a6971
f2db080
0f92823
6ff10fd
524c499
7c29ec9
d4cbaa4
70a4740
e55ebd2
80992ab
8597b5c
1c85c7b
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jebentier This is still a bug. I realized it's one of the reasons I had headed down the path of tracking the
global_context
instance forequals?
--that would be necessary in order to fix this bug. But it would be really complicated. And this bug isn't new. The code in this branch works much better in that it handleswith_context
on both the original logger as well as theLoggerWithContext
; it just doesn't handle if you repeat the former after having logged something. That seems very unlikely.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree that this seems unlikely and that the code required to fix this limitation is more complex than we want for this logger. Thank you for documenting it so we’re aware moving forward.
This file was deleted.