Maybe a dumb question, but I can not found the error log

Fresh new for cloudflare, after I deployed, I got a 500 server internal error. 1. After a lot of time of search, I found that I did not not enable web analytics, so i see nothing under Account Home > domain you want to check > Analytics & Logs. 2. After open it, then I stuck at the 500 server internal error shows when I access the site, but in the log, no 5xx code error at all. But I think this maybe because of sample. 3. Then I tried wrangle tail with live debug, but I always stuck at starting local server. when i enter b(browser), d(dev tool) with no response. and a x will response error handle hot key. wrangle config: name = "myprojectname" compatibility_date = "2024-07-29" compatibility_flags = ["nodejs_compat"] pages_build_output_dir = ".vercel/output/static" version: @Cloudflare/wrangler": "^1.21.0" command: cf:build": "npx @Cloudflare/next-on-pages" cf:debug": "pnpm cf:build && wrangler pages dev tail" ps: the attach image shows the stuck.
No description
1 Reply
hh3755
hh3755OP2mo ago
hi there, at last found it, write it here, may help if any one have the same question. Finally, I found it under Workers & Pages -> your project -> view details -> Functions -> Real-time logs(you should scroll down) -> begin log stream -> put you site url in the browser, then you will see you request down there, click the item to see detail there. These simple steps cost me hours.

Did you find this page helpful?