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

bpo-34334: Don't log traceback twice in QueueHandler #9537

Merged
merged 2 commits into from Sep 25, 2018

Conversation

csabella
Copy link
Contributor

@csabella csabella commented Sep 24, 2018

In QueueHandler in logging, the traceback (exc_info and exc_text) was being appended to the message twice after bpo-31084. This clears LogRecord.exc_text in the QueueHandler to keep it in sync with exc_info.

https://bugs.python.org/issue34334

@miss-islington
Copy link
Contributor

Thanks @csabella for the PR, and @vsajip for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-9581 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 25, 2018
(cherry picked from commit d345bb4)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
@csabella
Copy link
Contributor Author

@vsajip Thanks! I think that was the quickest merge I've ever gotten. :-)

@csabella csabella deleted the bpo34334 branch September 25, 2018 23:30
ned-deily pushed a commit that referenced this pull request Oct 7, 2018
(cherry picked from commit d345bb4)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants