Skip to content

Commit c2cc3e9

Browse files
bchamppyaythomas
authored andcommitted
chore: set botocore logging to warning
1 parent ab44f87 commit c2cc3e9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/aws_durable_execution_sdk_python_testing/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ def run(self, args: list[str] | None = None) -> int:
115115
level=level,
116116
format="%(asctime)s - %(name)s - %(levelname)s - %(message)s",
117117
)
118+
logging.getLogger("botocore").setLevel(logging.WARNING)
118119

119120
# Execute the appropriate command
120121
return parsed_args.func(parsed_args)

src/aws_durable_execution_sdk_python_testing/web/server.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ def __init__(self, config: WebServiceConfig, executor: Executor) -> None:
188188

189189
# Configure logging
190190
logging.basicConfig(level=config.log_level)
191+
logging.getLogger("botocore").setLevel(logging.WARNING)
191192

192193
# Create shared router and endpoint handlers
193194
self.router = Router() # Shared across all request handlers

0 commit comments

Comments
 (0)