#PII Redaction (eg. [EMAIL][PHONE]
1 messages · Page 1 of 1 (latest)
Likely places:
-
OpenClaw built-in redaction
- Code:
src/logging/redact.ts - Config:
logging.redactSensitive+logging.redactPatterns - Docs: https://docs.openclaw.ai/logging
- Code:
-
But: current built-in OpenClaw redaction does not appear to generate literal
[EMAIL]/[PHONE]placeholders. Built-ins mostly mask secrets/tokens as***orabc…xyz. So if you’re seeing exactly[EMAIL]/[PHONE], I’d suspect:- a custom
logging.redactPatterns - a wrapper/proxy/provider doing PII anonymization
- a script/prompt overlay/tool output sanitizer outside core OpenClaw
- a custom
Quick checks:
openclaw --version
openclaw config get logging.redactSensitive
openclaw config get logging.redactPatterns
openclaw config file
Then inspect the active config file for custom patterns:
rg -n "redact|redactPatterns|\\[EMAIL\\]|\\[PHONE\\]|pii|presidio" "$(openclaw config file)"
If logging.redactPatterns contains email/phone regexes, remove or narrow them. For normal logs/transcripts, you can disable general redaction with:
openclaw config set logging.redactSensitive off