Skip to content

Redact query strings from Workers logs - #15

Merged
lumirth merged 1 commit into
mainfrom
codex/redact-log-queries
Oct 14, 2026
Merged

lumirth merged 1 commit into
mainfrom
codex/redact-log-queries

Conversation

@lumirth

@lumirth lumirth commented Oct 14, 2026

Copy link
Copy Markdown
Owner

Summary

Workers invocation logs include request URLs. Redact query strings so OAuth callback codes and state stay out of persistent logs while operation, status, latency and application request IDs remain available.

 observability
   enabled: true
+  redact_query_string: true

Evidence

  • Before: deployed observability reported redact_query_string: false by default.
    After: the production API setting was updated and read back as true; source configs now preserve it on future deployments.
  • Wrangler's installed configuration schema supports the field. Application code and reader behavior are unchanged; existing CI and deployment checks validate the configuration.

Merge Danger

Door: two-way

Blast Radius: logs

Request query strings are omitted from platform logs. Existing bindings, secrets, namespace, code and structured application diagnostics are preserved.

@lumirth
lumirth merged commit 6668307 into main Oct 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant