Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ def deploy_function(example_name: str, function_name: str | None = None):
"Variables": {"AWS_ENDPOINT_URL_LAMBDA": config["lambda_endpoint"]}
},
"DurableConfig": example_config["durableConfig"],
"LoggingConfig": example_config.get("loggingConfig", {}),
}

if config["kms_key_arn"]:
Expand Down
4 changes: 4 additions & 0 deletions examples/examples-catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@
"RetentionPeriodInDays": 7,
"ExecutionTimeout": 300
},
"loggingConfig": {
"ApplicationLogLevel": "INFO",
"LogFormat": "JSON"
},
"path": "./src/logger_example/logger_example.py"
},
{
Expand Down
4 changes: 0 additions & 4 deletions examples/src/logger_example/logger_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@
)
from aws_durable_execution_sdk_python.execution import durable_execution

import logging

logging.getLogger().setLevel(logging.INFO)


@durable_with_child_context
def child_workflow(ctx: DurableContext) -> str:
Expand Down
Loading