Is it possible to enable sql redacting for any request?

For data privacy and compliance reasons, is it possible to redact any sql output via a flag?
In theory similar to the snapshots_redact_sql_queries for snapshots. I tried this setting but it had no effect on non-snapshot traces.