Skip to content

lambda: advanced logging controls for your Lambda functions #28044

@tmokmss

Description

@tmokmss

Describe the feature

Release announcement

Posted On: Nov 16, 2023

AWS Lambda announces advanced logging controls that enable you to natively capture logs in JSON structured format, adjust log levels, and select the Amazon CloudWatch log group for your Lambda functions.

CloudFormation already supports this:

{
  "ApplicationLogLevel" : String,
  "LogFormat" : String,
  "LogGroup" : String,
  "SystemLogLevel" : String
}

L2 Lambda function construct should also support this feature.

Use Case

  • natively capture logs in JSON structured format
  • adjust log levels
  • select the Amazon CloudWatch log group for your Lambda functions.

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.110.0

Environment details (OS name and version, etc.)

macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-lambdaRelated to AWS Lambdafeature-requestA feature should be added or improved.needs-triageThis issue or PR still needs to be triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions