From f549a448ff6ea85913e5b0bc61541c0dabecf7e2 Mon Sep 17 00:00:00 2001 From: Ran Isenberg <60175085+ran-isenberg@users.noreply.github.com> Date: Thu, 10 Oct 2024 12:01:27 +0300 Subject: [PATCH] fix: use new log format cdk params (#883) --- cdk/service/api_construct.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cdk/service/api_construct.py b/cdk/service/api_construct.py index 4405ac2a..44b3809e 100644 --- a/cdk/service/api_construct.py +++ b/cdk/service/api_construct.py @@ -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/