Loggingredactor

Latest version: v0.0.6

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

0.0.1

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.

0.0.1b2

- Updated README
- Updated Unit Tests

0.0.1b1

Updates:
- Added support to redact by key for positional arguments.
- Made ruff the linter for the project.

0.0.1b0

- Added support for python 3.8 - python 3.12
- Automate generation of development status in metadata

0.0.1a3

- Added classification metadata

0.0.1a2

- Added patch notes
- Added tuple support

Page 3 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.