Skip to main content

Module log_sanitizer

Module log_sanitizer 

Source
Expand description

Bounded byte-wise sanitization for logs prepared for publication.

Structs§

PreparedLog
Private temporary copy; dropping it removes its file and directory.
StreamingSanitizer
Holds at most one block of pending bytes, independent of source file size. Very long credential-like words are conservatively redacted as well.

Constants§

BLOCK_SIZE

Functions§

sanitize_log_to_temp
sanitize_log_to_temp_with_env