All product-specific variables start with ANONYMIZER_.
Logging and behavior
| Variable | Default | Purpose |
|---|
ANONYMIZER_LOG_DIR | ~/.anonymizer/logs/ | Directory for log files |
ANONYMIZER_LOG_LEVEL | info | One of debug, info, warn, error |
ANONYMIZER_LANG_PACKS | ru,en | Comma-separated active language packs |
ANONYMIZER_DISABLE_UPDATE_CHECK | unset | Set to 1 to skip the launch-time version check |
ANONYMIZER_UI_PORT | random | Force a specific port for the local web UI |
ANONYMIZER_UI_HOST | 127.0.0.1 | UI bind host. Do not change — exposing it beyond loopback voids the privacy guarantee |
Distribution and updates
| Variable | Default | Purpose |
|---|
UV_INDEX_URL | PyPI | Custom Python package index — used by both install script and updater |
UV_DEFAULT_INDEX | PyPI | Same as UV_INDEX_URL, uv-native syntax |
HTTPS_PROXY / HTTP_PROXY / NO_PROXY | unset | Standard proxy config, respected by uv |
Diagnostics
| Variable | Default | Purpose |
|---|
ANONYMIZER_DUMP_DETECTOR_OUTPUT | unset | If 1, writes a JSON-per-detector dump to the log dir. Includes sanitized context, never raw entity text. Useful for debugging detector misses. |
Pre-release / development
These exist only in pre-release builds and may be removed without notice:
| Variable | Purpose |
|---|
ANONYMIZER_DEV_DISABLE_NETWORK_CHECK | Bypasses the test_no_network enforcement. Tests only. |