Skip to content

Conversation

@aabmass
Copy link
Member

@aabmass aabmass commented May 16, 2025

Backport of #4588 with some conflicts resolved. Will do a patch release once merged.

…emetry#4588)

* Fix max recursion bug by removing logging.log calls in emit

* Update opentelemetry-sdk/src/opentelemetry/sdk/_shared_internal/__init__.py

Co-authored-by: Emídio Neto <[email protected]>

* Add changelog

* Fix linter

* Respond to comments in PR

* Remove log line

* Fix lint issues

* Attach handler to SDK logger instead of root logger and remote it after test is done. Fix lint issues..

* Assert no logs emitted. ADd try/except block for cleanup

* Skip test on <python3.10

* Run precommit

* Apply suggestions from code review

* use try/finally instead of try/except

---------

Co-authored-by: Emídio Neto <[email protected]>
Co-authored-by: Aaron Abbott <[email protected]>
@aabmass aabmass requested a review from a team as a code owner May 16, 2025 15:29
@emdneto emdneto added the backport Use during release PRs. Change CONTRIB_REPO_SHA to point to BASE branch name label May 16, 2025
@emdneto emdneto closed this May 16, 2025
@emdneto emdneto reopened this May 16, 2025
Copy link
Member

@emdneto emdneto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

backport label is working!

@aabmass aabmass changed the title Fix max recursion bug by removing logging.log calls in emit (#4588) Backport: Fix max recursion bug by removing logging.log calls in emitFix max recursion bug by removing logging.log calls in emit (#4588) May 16, 2025
@aabmass aabmass changed the title Backport: Fix max recursion bug by removing logging.log calls in emitFix max recursion bug by removing logging.log calls in emit (#4588) Backport:Fix max recursion bug by removing logging.log calls in emit (#4588) May 16, 2025
@aabmass aabmass changed the title Backport:Fix max recursion bug by removing logging.log calls in emit (#4588) Backport: Fix max recursion bug by removing logging.log calls in emit (#4588) May 16, 2025
@aabmass aabmass merged commit 4dad82a into open-telemetry:release/v1.33.x-0.54bx May 16, 2025
671 of 769 checks passed
@aabmass aabmass deleted the backport-4588 branch May 16, 2025 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Use during release PRs. Change CONTRIB_REPO_SHA to point to BASE branch name

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants