workers-sdk
workers-sdk copied to clipboard
Non verbose proxy
Is there a way to launch the wrangler pages dev proxy in a way that doesn't log every single GET request? I would like it to show only console logs from the worker code during development.
We should consider this for wrangler dev as well, same idea.
Now that we're using wrangler dev's server, I'll remove the pages label as, like @Electroid says, this could be a feature for wrangler dev in general.
Discuss internally about how we want to proceed with a possible --quiet mode
Pretty sure I accidentally implemented this as part of https://github.com/cloudflare/wrangler2/pull/1538 - once it's merged we just need a flag/setting to expose it as an option for regular dev.
Pretty sure I accidentally implemented this as part of #1538 - once it's merged we just need a flag/setting to expose it as an option for regular dev.
"accidental feature" should be a new PR tag lol
@rozenmd with that PR merged is this issue resolved?
We still need to add a flag @JacobMGEvans - but the miniflare-cli now disables logging if logLevel === "none"
in api/dev.tsx I call startDev with logLevel: "none", to disable miniflare's route logging.
I'm on it 😁