Skip to content

Commit 94f5827

Browse files
committed
docs(logging): note Control UI tool payload redaction
Document the redaction surface added in f3e8c50: custom logging.redactPatterns now apply to Control UI tool start args, partial/final result payloads, derived exec output, and patch summaries on top of the built-in defaults.
1 parent 39e3d8d commit 94f5827

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

docs/logging.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,12 @@ OTEL model-call spans/metrics when diagnostics export is enabled.
207207
### Redaction
208208

209209
OpenClaw can redact sensitive tokens before they hit console output, file logs,
210-
OTLP log records, or persisted session transcript text:
210+
OTLP log records, persisted session transcript text, or Control UI tool
211+
event payloads (tool start args, partial/final result payloads, derived
212+
exec output, and patch summaries):
211213

212214
- `logging.redactSensitive`: `off` | `tools` (default: `tools`)
213-
- `logging.redactPatterns`: list of regex strings to override the default set
215+
- `logging.redactPatterns`: list of regex strings to override the default set. Custom patterns apply on top of the built-in defaults for Control UI tool payloads, so adding a pattern never weakens redaction of values already caught by the defaults.
214216

215217
File logs and session transcripts stay JSONL, but matching secret values are
216218
masked before the line or message is written to disk. Redaction is best-effort:

0 commit comments

Comments
 (0)