-
Notifications
You must be signed in to change notification settings - Fork 1
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
PB-931 Change behavior of exc_text and stack_info - #major #63
Conversation
8553ff5
to
f6cd651
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't fully understand what was the issue, because this repository is public and that this library is also public in pypi, we should document this change to be more understandable. Does it affect the use of the library with other framework like Flask ? Having some unittest that test the issue would be also very good.
46fd92b
to
57ce5b6
Compare
57ce5b6
to
e3da9ed
Compare
f4584be
to
697ea5a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very just a few minor comments on the docu, and I would add 2 unittest case making sure that they are not added by default and that you can add them if required.
697ea5a
to
76f2ec1
Compare
9a2dce9
to
edd3814
Compare
Adding the exc_text field to the record before formatting a message. This allows for formatting the message through the django logging facility Removing the addition of exc_text to the message directly. Instead adding it to the record, so that it can be formatted through the django logging facility
Add the stack info to the record instead of the message directly in JSON formatter. This way it can be configured through the Django logging facility
Document the changes made with regards to logging the traceback.
edd3814
to
67e0651
Compare
Changing the
exc_text
andstack_info
behavior.Instead of attaching these fields directly to the message by default we pass it to the formatter. This allows fore more control through the configuration, for instance through specifying it like this: