Open garysassano opened 7 months ago
Hi,
This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!
Hi,
This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!
Use Case
Using the recently added advanced logging controls for AWS lambda functions, two new options are introduced in
wing.toml
fortf-aws
platform:lambda_logs_aggregate
(boolean) - Allows to aggregate all Lambda functions' logs within a Wing app in a single CloudWatch log group namedWingFunctionsLogGroup
lambda_logs_default_retention_days
(integer) - Allows to specify the default retention period for all Lambda functions' logs within a Wing app. This can be overridden for each individual function by providing theprops.logRetentionDays
In addition, if
lambda_logs_aggregate
is set tofalse
, the CloudWatch log groups naming convention for Lambda functions deployed by Wing changes from the standard/aws/lambda/{functionName}
to/wing/lambda/{functionName}
.Proposed Solution
No response
Implementation Notes
No response
Component
No response
Community Notes