Skip to content

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

Merged
veblush merged 1 commit intogrpc:v1.60.xfrom
XuanWang-Amos:backport-1.60-revert_print_backtrace_change
Jan 10, 2024
Merged

[Python Misc] Revert change to print backtrace in server (v1.60.x backport)#35462
veblush merged 1 commit intogrpc:v1.60.xfrom
XuanWang-Amos:backport-1.60-revert_print_backtrace_change

Conversation

@XuanWang-Amos
Copy link
Copy Markdown
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
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.

4 participants