CLI to build and develop Next.js apps for Cloudflare Pages
### next-on-pages environment related information System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 22.6.0: Fri Sep 15 13:41:28 PDT 2023; root:xnu-8796.141.3.700.8~1/RELEASE_ARM64_T6020 CPU: (12) arm64 Apple M2 Max Memory: 32 GB Shell: /opt/homebrew/bin/fish Package Manager Used: npm (10.8.2) Relevant Packages: @cloudflare/next-on-pages: 1.13.5 vercel: 37.14.0 next: 14.2.5 ### Description console.log in server components is shown up in terminal when local development. ```tsx export default function Home() { console.log("Home render"); return (<div>Home</div>) } ``` terminal ``` - event compiled client and server successfully in 901 ms (589 modules) Home render ``` But, After deploying to cloudflare pages, this log is not shown up in function logs (cloudflare dashboard). This log does not shown up in terminal when we use `npx wrangler pages deployment tai` command either. The console.log in cloudflare page function is shown up in dashboard. https://developers.cloudflare.com/pages/functions/debugging-and-logging/#view-logs-in-the-cloudflare-dashboard So I think it would be great if console.log message shown up in dashboard. ### Reproduction 1. create project by [official set up command](https://developers.cloudflare.com/pages/framework-guides/nextjs/ssr/get-started/). ``` npm create cloudflare@latest -- my-next-app --framework=next ``` 2. Write console.log in server components 3. deploy add to Cloudflare Pages 4. check function log in Cloudflare dashboard. ### Pages Deployment Method Direct Upload (`wrangler pages publish` or the @cloudflare/pages-action GitHub Action) ### Pages Deployment ID _No response_ ### Additional Information _No response_ ### Would you like to help? - [ ] Would you like to help fixing this bug?
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by kult0922 and has received 0 comments.