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.
2
-
7The behavior is the same, it doesn't matter how your AWS Lambda is invoked. Maybe your API Gateway is misconfigured? Do you point to a different AWS Lambda Version or a different Function?MaiKaY– MaiKaY2018-08-06 10:51:37 +00:00Commented Aug 6, 2018 at 10:51
-
Maybe the Lambda is in another region?Bachman– Bachman2018-08-07 19:35:40 +00:00Commented Aug 7, 2018 at 19:35
Add a comment
|