Reputation: 93
I set up API Gateway with Lambda function. If I run Lambda with 'test' button in console, console.log writes to CloudWatch fine. If I run http calls from Postman to Gateway then to Lambda, there is no logs. Is this the way? If yes, how can the app log in production? I know the API gateway can log as well, but this way doesn't log the console.log in Lambda. Thanks in advance.
Upvotes: 0
Views: 318
Reputation: 93
MaiKaY's answer was correct. It was only I didn't 'deploy' API. AWS way: configure, save, in the end we need to 'deploy'. Thank you all.
Upvotes: 1