Skip to content

Logging Redactor 0.0.1 (2024-07-06)

Choose a tag to compare

@armurox armurox released this 06 Jul 17:50
· 38 commits to master since this release
f0d2e17

Improvements

  • Added ability to redact by key, not just by regex for extra field.
  • Added support to redact by key for positional arguments.
  • Optimized checks that identified elements of the logger object to apply the redaction rule to.
  • Added support for tuples to be provided as arguments to the logger.
  • Added support for logger message arguments to be among the redacted elements.
  • Added support for python 3.8+ (3.8 - 3.12).

Bug fixes:

  • Fixed bugs that mutated variables in place when redacting data (specific to dictionaries, lists and tuples).
  • The added support for tuples is technically a bug fix, as it was meant to be present in the original release.

Improved Documentation:

  • Added an illustrative example to indicate how to apply logging redaction to already configured loggers in prior projects.
  • Added an illustrative example which demonstrates redaction being applied using keys with positional arguments in the logger.