Skip to content

Commit

Permalink
fix: use new log format cdk params (#883)
Browse files Browse the repository at this point in the history
  • Loading branch information
ran-isenberg authored Oct 10, 2024
1 parent ec962d6 commit f549a44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cdk/service/api_construct.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ def _add_post_lambda_integration(
layers=[self.common_layer],
role=role,
log_retention=RetentionDays.ONE_DAY,
log_format=_lambda.LogFormat.JSON.value,
system_log_level=_lambda.SystemLogLevel.INFO.value,
logging_format=_lambda.LoggingFormat.JSON,
system_log_level_v2=_lambda.SystemLogLevel.INFO,
)

# POST /api/orders/
Expand Down

0 comments on commit f549a44

Please sign in to comment.