Schwi
Schwi
CDCloudflare Developers
Created by かろっく@calloc134 on 3/23/2025 in #workers-help
console.log Errors When Using Worker Static Assets
I had the same problem. On my worker, there was only a static html called "sub.html", so the request to "https://url/sub" would not show the log, that's right, because by default the Assets are checked before the Worker, but when the Assets could not be matched, the other requests processed by the Worker did not show the log, that's the problem, it should show
9 replies
CDCloudflare Developers
Created by Schwi on 3/20/2025 in #workers-help
No log display after using static assets
Prompted by the post https://discordapp.com/channels/595317990191398933/1353347373518164050 , I found that the problem was caused by static assets. After I removed the static assets, the logs were displayed normally, so I can be sure that this is the cause of the problem. So is this a problem within CloudFlare Workers?
19 replies
CDCloudflare Developers
Created by かろっく@calloc134 on 3/23/2025 in #workers-help
console.log Errors When Using Worker Static Assets
No description
9 replies
CDCloudflare Developers
Created by かろっく@calloc134 on 3/23/2025 in #workers-help
console.log Errors When Using Worker Static Assets
Oh, it turns out that my problem was caused by static assets. I checked for a long time but didn’t notice this reason.😭 https://discordapp.com/channels/595317990191398933/1352139129743343726
9 replies
CDCloudflare Developers
Created by Schwi on 3/20/2025 in #workers-help
No log display after using static assets
No description
19 replies
CDCloudflare Developers
Created by Schwi on 3/20/2025 in #workers-help
No log display after using static assets
No description
19 replies
CDCloudflare Developers
Created by Schwi on 3/20/2025 in #workers-help
No log display after using static assets
No description
19 replies
CDCloudflare Developers
Created by Schwi on 3/20/2025 in #workers-help
No log display after using static assets
I just tried to submit my code to the latest version. The worker executed normally and returned results, but the live log did not show any logs. What happened?
19 replies
CDCloudflare Developers
Created by Schwi on 3/20/2025 in #workers-help
No log display after using static assets
Let me try update code to latest and test again.
19 replies
CDCloudflare Developers
Created by Schwi on 3/20/2025 in #workers-help
No log display after using static assets
Wait, the live logs are showing up now, but I didn’t do anything…
19 replies
CDCloudflare Developers
Created by Schwi on 3/20/2025 in #workers-help
No log display after using static assets
Any test can I do?
19 replies
CDCloudflare Developers
Created by Schwi on 3/20/2025 in #workers-help
No log display after using static assets
No description
19 replies
CDCloudflare Developers
Created by Schwi on 3/20/2025 in #workers-help
No log display after using static assets
I think that no matter what happens in the code, there should at least be a request record logged by cloudflare, such as "GET https://url.....", am I right?
19 replies
CDCloudflare Developers
Created by Schwi on 3/20/2025 in #workers-help
No log display after using static assets
btw, first time when I found there's no log, I tried to delete and recreate worker, then the log has show, but after my publish (or after a few minutes, I'm not sure which cause it), log doesn't show anymore. I think you can see these logs and operations by checking my account ID
19 replies
CDCloudflare Developers
Created by Schwi on 3/20/2025 in #workers-help
No log display after using static assets
About how often, I'm not sure. After I send this post, I receive 4 logs from 2 IPs, one is Google Datacenter, another is cloudflare, and many requests from malicious scripts where IP belong to OVH (because I closed my custom WAF rule). But when I visit the url by my self, still no log to show
19 replies
CDCloudflare Developers
Created by Schwi on 3/20/2025 in #workers-help
No log display after using static assets
Ok, my Account ID is a2f78f394f5cd5885f7e5daddfcd3aab
19 replies
CDCloudflare Developers
Created by Schwi on 3/20/2025 in #workers-help
No log display after using static assets
No description
19 replies