If I use aws lambda on the cloud, console.log output is routed to cloudwatch. But where does it go if I use sam local start-api?
Because I can't find it in cloudwatch
If I use aws lambda on the cloud, console.log output is routed to cloudwatch. But where does it go if I use sam local start-api?
Because I can't find it in cloudwatch
The sam local start-api documentation shows that you can control the log file that runtime logs are sent to with the command line option:
-l, --log-file filename