Disabling Log Redaction in Modern Cloudflare Observability Logs
Hello everyone,
I’m currently utilizing Cloudflare Workers along with the modern observability logs as outlined here: Workers Logs.
I’ve noticed that all URLs in the logs are being redacted. For example:
• Original URL: image/Frame_1000010821_t-tTJsirSvfv_m2l6uVph.png
• Redacted in logs as: image/REDACTED.png
My question is:
Is it possible to disable the Cloudflare log redaction feature so that the full URLs appear in the logs? If so, could someone guide me on how to configure this?
Cloudflare Docs
Workers Logs | Cloudflare Workers docs
Store, filter, and analyze log data emitted from Cloudflare Workers.
2 Replies
Asked the same thing here https://discord.com/channels/595317990191398933/1286431324827156480 but with no success
Yea as far as I know not possible. You can actually see it in source https://github.com/cloudflare/workerd/blob/b1656adae154200e6764272de147dc6f41acd053/src/workerd/api/util.c%2B%2B#L194
GitHub
workerd/src/workerd/api/util.c++ at b1656adae154200e6764272de147dc6...
The JavaScript / Wasm runtime that powers Cloudflare Workers - cloudflare/workerd