Dec 8, 2023
0
Level 1
Lambda function not saving logs when timed out
I'm using Laravel Vapor for my API backend, and it uses Lambda functions for execution. I noticed that whenever Lambda function will time out, no logs will be saved to CloudWatch. I use Log::info(), but it will only show in CloudWatch when the function finishes correctly.
Is there a way to force Log to be saved right away, or to say to Lambda to store my logs in case of time out?
Please or to participate in this conversation.