Is it expected that my workers log every request URL they get executed for?

Is it expected that my workers log every request URL they get executed for? What is the easiest way to write to the logs in the UI dashboard view or is that not possible? console.log does not do the trick and we have not setup wrangler successfully yet. Is there an alterantive or is wrangler the way to go?
5 Replies
Ian
Ian4mo ago
You can tail your logs for a worker or function in the dashboard, but it only logs out what's happened since you start tailing. No historical logs are shown. Wrangler tail works exactly the same way.
Ian
Ian4mo ago
If you want long term logging there are many solutions, including logpush https://developers.cloudflare.com/workers/observability/logging/logpush/
Cloudflare Docs
Logpush · Cloudflare Workers docs
Send Workers Trace Event Logs to a supported third party, such as a storage or logging provider.
tomypro80
tomypro804mo ago
understood @Ian — to my question though: — should I see every request URL in that tail ? — should I see console.log logs appear in the tail ?
Ian
Ian4mo ago
Yes to both
tomypro80
tomypro804mo ago
thanks @Ian
Want results from more Discord servers?
Add your server