-
Notifications
You must be signed in to change notification settings - Fork 239
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
fix: ForwardingLogger should foward block param #1616
Conversation
Also added tests to verify the default forwarding logger level, and to make sure it actually forwards logs. Fixes open-telemetry#1599
@BrianHawley please review the EasyCLA. If you accept it, we will proceed with a review of this PR. Thank you. |
@arielvalentin license accepted, thanks. |
This seems to also be busted when using |
This introduced a bug if the logger used is Semantic Logger
|
Thanks, @adamk9k! I'll open an issue for this to take a closer look. If you know what needs to be done to fix the problem, please feel free to open a PR. |
Thank you @kaylareopelle in the meantime I've figured out what the issue was. It was coming from def untraced
Context.with_value(UNTRACED_KEY, true) do |ctx, _|
yield ctx
end
end upgrading to 0.21.0 that includes this #1634 fixed it. |
@kaylareopelle yes, thank you and sorry for the noise. |
@adamk9k, no problem! Thanks for the update! |
Also added tests to verify the default forwarding logger level, and to make sure it actually forwards logs.
Fixes #1599