Introducing advanced logging controls for AWS Lambda functions
Blog
This article introduces advanced logging controls for AWS Lambda functions, which provide greater control over how function logs are captured, processed, and consumed:
Specifically, the article covers:
- Capturing Lambda logs in JSON structured format, which makes it easier to search and filter logs
- Configuring log level granularity (e.g. ERROR, DEBUG, INFO) for Lambda functions without code changes
- Customizing the CloudWatch log group where Lambda sends logs, enabling aggregation of logs from multiple functions
- An example architecture demonstrating the use of advanced logging controls with AWS SAM
The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.
Related articles
The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.