You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create an api endpoint and put the below code in it.
Deploy said code.
Call the endpoint.
Watch logs and see Vercel caps at 255 logs per invocation, why!?
for (let i = 0; i < 1000; i++) {
log.debug('same method log count: ', i)
}
Current vs. Expected behavior
Current: caps at 255 logs :(
Expected: not to cap at any number of logs. We run a cron job and it should be listing 1-2k logs, but just gets cut at 255 馃槶
Link to the code that reproduces this issue
https://codesandbox.io/p/devbox/sharp-sara-zvwn7d?file=%2Fapp%2Fapi%2Ftest-logging%2Froute.ts%3A6%2C3
To Reproduce
Current vs. Expected behavior
Current: caps at 255 logs :(
Expected: not to cap at any number of logs. We run a cron job and it should be listing 1-2k logs, but just gets cut at 255 馃槶
Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 23.4.0: Fri Mar 15 00:10:42 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6000 Binaries: Node: 20.10.0 npm: 10.2.3 Yarn: 1.22.21 pnpm: N/A Relevant Packages: next: 14.1.4 eslint-config-next: 14.1.4 react: 18.2.0 react-dom: 18.2.0 typescript: 5.4.5 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
Runtime
Which stage(s) are affected? (Select all that apply)
Vercel (Deployed)
Additional context
No response
The text was updated successfully, but these errors were encountered: