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

[Python Misc] Revert change to print backtrace in server (v1.60.x backport) #35462

Conversation

XuanWang-Amos
Copy link
Contributor

Backport of #34877 to v1.60.x.

Fix: #34853

In order to make debugging easier, we have begun printing backtraces in servers. However, this change has the unintended consequence of printing errors to stderr by default, which may not be expected by some users.

This PR reverts the change. We recommend that users set up a logging sink if they want to see errors. We will add this to our documentation later.

Fix: grpc#34853

In order to make debugging easier, we have begun printing backtraces in servers. However, this change has the unintended consequence of printing errors to stderr by default, which may not be expected by some users.

This PR reverts the change. We recommend that users set up a logging sink if they want to see errors. We will add this to our documentation later.

<!--

If you know who should review your pull request, please assign it to that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the appropriate
lang label.

-->

Closes grpc#34877

COPYBARA_INTEGRATE_REVIEW=grpc#34877 from XuanWang-Amos:revert_print_backtrace_change 8942308
PiperOrigin-RevId: 588885550
@XuanWang-Amos XuanWang-Amos added the release notes: yes Indicates if PR needs to be in release notes label Jan 5, 2024
@XuanWang-Amos XuanWang-Amos marked this pull request as ready for review January 5, 2024 19:24
@veblush veblush merged commit 06037ca into grpc:v1.60.x Jan 10, 2024
61 of 64 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang/Python release notes: yes Indicates if PR needs to be in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants