mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 14:50:45 +00:00
fix(logging): redact console and file sinks
This commit is contained in:
@@ -167,7 +167,9 @@ Tool summaries can redact sensitive tokens before they hit the console:
|
||||
- `logging.redactSensitive`: `off` | `tools` (default: `tools`)
|
||||
- `logging.redactPatterns`: list of regex strings to override the default set
|
||||
|
||||
Redaction affects **console output only** and does not alter file logs.
|
||||
Redaction applies at the logging sinks for **console output**, **stderr-routed
|
||||
console diagnostics**, and **file logs**. File logs stay JSONL, but matching
|
||||
secret values are masked before the line is written to disk.
|
||||
|
||||
## Diagnostics and OpenTelemetry
|
||||
|
||||
|
||||
Reference in New Issue
Block a user