{{ message }}
Tags: RedisJSON/RedisJSON
Tags
MOD-13014: redact user data from JSONPath trace logs (#1608) MOD-13014 removed user data from errors but left the JSONPath engine's trace logs, which still emitted document values, query literals and paths at Redis `debug` log level (trace! maps to RedisLogLevel::Debug). Gate those traces behind a cached mirror of Redis core's `hide-user-data-from-log` server config: a new `trace_user_data!` macro suppresses the message when the flag is on. The module reads the config at load and refreshes it on CONFIG SET via a config-changed event handler. Structural traces (grammar rules, "missing operand" diagnostics) stay on plain trace! and are unaffected. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
PreviousNext
