Enable AWS Lambda logging for REST APIs.

Description

No custom AWS Lambda logs seem to be sent to CloudWatch when servicing REST API requests. Enable them somehow.

has general logging information about logging from API Gateway REST APIs, but I don’t know if it applies to the handling Lambda. Similarly discusses permissions that may need to be added to the API Gateway itself.

Environment

None

Activity

Garret Wilson 
April 12, 2025 at 7:31 PM

This may not be an issue with logging, but with deployment. I did a complete rebuild but updated an existing stack, and got no logging. But then after tearing down the stack and deploying from scratch, the logging showed up. This ticket may need to be changed into an investigation of why updating a stack doesn’t update the Lambda code.

Details

Assignee

Reporter

Fix versions

Priority

Created April 12, 2025 at 5:14 PM
Updated April 12, 2025 at 7:31 PM