admin管理员组文章数量:1300061
I am seeing the following logs in my API routes that are making it very difficult to track the logs I am looking for. I have tried a ton of things to silence these with no luck. Is it possible to silence these cache logs in a dev environment? I am using nextjs15 connected with supabase. I am not looking to cache (although I don't even know how I would try that) but I just want to silence these logs in development. If there is way to even do this from the terminal side i would accept that, I just want to filter this away so I can focus on developing the API routes!
GET /auth/api/get-schedule 200 in 297ms
│ GET https://egqxka13glvumqxc../auth/v1/user 200 in 99ms (cache skip)
│ │ Cache skipped reason: (auto no cache)
│ GET https://egqxkdfgdfgvumqxc../rest/v1/sp_users?select=user_pai.. 200 in 92ms (cache skip)
│ │ Cache skipped reason: (auto no cache)
│ GET https://egqxka45lvumqxc../rest/v1/user_topics?select=*&user_i.. 200 in 95ms (cache skip)
│ │ Cache skipped reason: (auto no cache)
GET /auth/api/transcript-history 200 in 348ms
│ GET https://egqxka5dfglvumqxc../auth/v1/user 200 in 86ms (cache skip)
│ │ Cache skipped reason: (auto no cache)
│ GET https://egqxkandfgmqxc../rest/v1/spe_users?select=phone_nu.. 200 in 126ms (cache skip)
│ │ Cache skipped reason: (auto no cache)
│ GET https://egqxdfgvumqxc../rest/v1/transcripts?select=summary%.. 200 in 126ms (cache skip)
│ │ Cache skipped reason: (auto no cache)
I tried setting logging in nextjs (didn't work) I tried setting logging from supabase config (didn't work) i tried overwriting global logging for the app (not only didn't work, but removed regular logs and kept these cached logs) I tried setting next.config.ts with no logging such as:
logging: {
fetches: {
fullUrl: false,
hmrRefreshes: false,
},
},
I have also tried prayer, frustrating, sleepless nights, and bargaining. nothing has worked. So now I'm here. probably should have come here earlier!
本文标签: javascriptHow to Filter out Supabase Cache Logs in Nextjs 15 appStack Overflow
版权声明:本文标题:javascript - How to Filter out Supabase Cache Logs in Nextjs 15 app - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741654702a2390689.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论