From d59771073266b7694dcc38f725a1c5092dbd37a9 Mon Sep 17 00:00:00 2001 From: Benjamin Bolte Date: Mon, 17 Jun 2024 19:34:09 -0700 Subject: [PATCH] small logging fixup --- store/app/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/store/app/main.py b/store/app/main.py index 1abe9e38..38ea6966 100644 --- a/store/app/main.py +++ b/store/app/main.py @@ -1,5 +1,6 @@ """Defines the main entrypoint for the FastAPI app.""" +import logging from contextlib import asynccontextmanager from typing import AsyncGenerator @@ -23,6 +24,7 @@ @asynccontextmanager async def lifespan(app: FastAPI) -> AsyncGenerator[None, None]: """Initializes the app and creates the database tables.""" + logging.getLogger("aiobotocore").setLevel(logging.CRITICAL) await create_tables() try: yield