PL

Privlog

A Python CLI that detects sensitive data in logs before it reaches production.

Install from PyPI View on GitHub

Install

pip install privlog

Run

privlog .

What it checks

Example

app.py:12:9 [ERROR] PL2101 Sensitive identifier passed to log. Hash/pseudonymize or omit.

CI/CD Integration

Privlog exits with a non-zero status code when high-confidence ERROR findings are detected, allowing CI/CD pipelines to fail fast when sensitive logging patterns appear.

Why it exists

Logs are useful for operators and developers, but sensitive data often gets logged during debugging and accidentally survives into production workflows. Privlog helps catch those patterns early.