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

Add exception traceback handling to Formatter #38

Closed
wants to merge 1 commit into from
Closed

Add exception traceback handling to Formatter #38

wants to merge 1 commit into from

Conversation

logston
Copy link

@logston logston commented Jun 19, 2015

Hi. If I wrote a test for this patch, would you be interested in merging it in?

Thanks for your time.

@ngiallelis
Copy link
Contributor

I think that formatted exception exists already in record.exc_text field. See logging.Formatter.format() function.
And it is called in line 47 of handler.py super(FluentRecordFormatter, self).format(record)

@logston
Copy link
Author

logston commented Jun 22, 2015

Gotcha thank you.

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

2 participants