rising3월 19일· 2 sources

Why You Should Use context.logger in Lambda Durable Functions

Lambda Durable Functions에서 context.logger를 사용해야 하는 이유

Why it matters

Lambda Durable Functions allow multi-step workflows within a single Lambda function. Using the standard Python logging module causes duplicate log entries before and after context.wait() due to replay behavior. The recommended approach is to use context.logger in the handler and step_context.logger inside steps to avoid this duplication.

2
Sources
+0
24h
Growth
178d
Active
aws lambda durable functionscloudwatchcontext.loggerdurable_steplambda durable functionsobservabilityserverless workflowsstep functionsworkflow orchestration

Sources

Related Issues