Skip to content

Conversation

@ftnext
Copy link
Contributor

@ftnext ftnext commented Jun 23, 2025

Thank you for developing this awesome library!

I found a typo, so sent this pull request:
https://nhairs.github.io/python-json-logger/latest/quickstart/#excluding-fields

By default all LogRecord attributes are exluded.

$ git grep exlude
docs/quickstart.md:You can prevent fields being added to the output data by adding them to `reserved_attrs`. By default all [`LogRecord` attributes](https://docs.python.org/3/library/logging.html#logrecord-attributes) are exluded.

@nhairs
Copy link
Owner

nhairs commented Jun 26, 2025

Thanks for this @ftnext 😄

@nhairs nhairs merged commit 27231ed into nhairs:main Jun 26, 2025
4 checks passed
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.

2 participants