Skip to content

Environment variables

All product-specific variables start with ANONYMIZER_.

Logging and behavior

VariableDefaultPurpose
ANONYMIZER_LOG_DIR~/.anonymizer/logs/Directory for log files
ANONYMIZER_LOG_LEVELinfoOne of debug, info, warn, error
ANONYMIZER_LANG_PACKSru,enComma-separated active language packs
ANONYMIZER_DISABLE_UPDATE_CHECKunsetSet to 1 to skip the launch-time version check
ANONYMIZER_UI_PORTrandomForce a specific port for the local web UI
ANONYMIZER_UI_HOST127.0.0.1UI bind host. Do not change — exposing it beyond loopback voids the privacy guarantee

Distribution and updates

VariableDefaultPurpose
UV_INDEX_URLPyPICustom Python package index — used by both install script and updater
UV_DEFAULT_INDEXPyPISame as UV_INDEX_URL, uv-native syntax
HTTPS_PROXY / HTTP_PROXY / NO_PROXYunsetStandard proxy config, respected by uv

Diagnostics

VariableDefaultPurpose
ANONYMIZER_DUMP_DETECTOR_OUTPUTunsetIf 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:

VariablePurpose
ANONYMIZER_DEV_DISABLE_NETWORK_CHECKBypasses the test_no_network enforcement. Tests only.