Skip to content

Commit f549a44

Browse files
authored
fix: use new log format cdk params (#883)
1 parent ec962d6 commit f549a44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cdk/service/api_construct.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ def _add_post_lambda_integration(
139139
layers=[self.common_layer],
140140
role=role,
141141
log_retention=RetentionDays.ONE_DAY,
142-
log_format=_lambda.LogFormat.JSON.value,
143-
system_log_level=_lambda.SystemLogLevel.INFO.value,
142+
logging_format=_lambda.LoggingFormat.JSON,
143+
system_log_level_v2=_lambda.SystemLogLevel.INFO,
144144
)
145145

146146
# POST /api/orders/

0 commit comments

Comments
 (0)