Hushfang

Hushfang / Python logging

Secret redaction
for Python logs.

Register a credential when your application loads it. Mask it when an SDK repeats it in a log, while keeping the request ID, status and traceback.

Folded continuous-feed paper with a red masking strip
request=r-17  status=403
Authorization: Bearer ***

Hushbench / Runtime comparison

What survives the log?

Inspect the original event, expected line and actual output from every configuration.

134/ 134 exact lines

Hushfang in delimited mode on the shared text corpus. 7 configurations ran on the same inputs. This score is from the site checkout, which includes changes since the PyPI 0.2.0 release.

Runtime registry ↗

Follow a secret from typed settings through a client to a text handler.

An HTTPX 403 ↗

See what remains in console and file output when a credential-bearing request fails.

URL and header cases ↗

Compare userinfo, query and path tokens, Basic and Bearer headers across 7 events.