serverless-nextjs / serverless-next.js

⚡ Deploy your Next.js apps on AWS Lambda@Edge via Serverless Components
MIT License
4.41k stars 449 forks source link

Problems to see logs #2572

Open maccali opened 1 year ago

maccali commented 1 year ago

Issue Summary

When i call an api endpoint, most of time is inpossible to see log on CloudWatch

Actual behavior

When i call an api endpoint, sometime is not possible to see any log about the call. For example, i request 5 times in 30 february, but i don't see anything on CloudWatch. However some days have some logs register, I think it might be something blocking or not sending. image

Expected behavior

I hope a solution about the problem or a little trick/tip to solve it

Steps to reproduce

Screenshots/Code/Configuration/Logs

Versions

@sls-next/serverless-component@3.6.0 @sls-next/serverless-component@3.7.0

Checklist