-
Notifications
You must be signed in to change notification settings - Fork 769
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 BUG: Logs don't show if assets.directory is set #7397
Comments
Thanks for the report, I can reproduce and we're looking into it! |
Just to double check, have you definitely been invoking your worker when you’ve got assets? Requests to assets don’t show up on logs, only worker invocations. Also does running npx wrangler tail when you have assets deployed give you anything? |
@emily-shen I've recorded requests and tail output - https://youtu.be/b5a66QPmiwg Both worker requests and asset requests are not logged with |
Hey @vladshcherbin should be fixed now! Don't think you have to do anything, maybe redeploy? Feel free to follow up though if you have any issues :)) |
@emily-shen great news, thanks! Yep, I can confirm Logs tab now shows logs even without a redeploy 🥳 |
Which Cloudflare product(s) does this pertain to?
Workers Runtime, Wrangler
What version(s) of the tool(s) are you using?
3.91.0 [wrangler]
What version of Node are you using?
22.10.0
What operating system and version are you using?
macOS Sequoia 15.1.1
Describe the Bug
Observed behavior
If I set
assets.directory
inwrangler.json
, observability logs stop showing new logs. If I remove the setting, new logs start coming again. Locally withwrangler dev
logs show every time.with
assets.directory
:without:
test link - https://wrangler-test.spacehub.workers.dev
test link of public file - https://wrangler-test.spacehub.workers.dev/acorn.svg
full application code - https://github.com/vladshcherbin/wrangler-test
Expected behavior
Logs should continue showing in
Logs
tabSteps to reproduce
full application code - https://github.com/vladshcherbin/wrangler-test
assets.directory
inwrangler.json
, re-deployPlease provide a link to a minimal reproduction
https://github.com/vladshcherbin/wrangler-test
Please provide any relevant error logs
No response
The text was updated successfully, but these errors were encountered: