Skip to content

Commit eb478c8

Browse files
added the supress of opentelemetry Warning
1 parent 9b87ab9 commit eb478c8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/backend/app_kernel.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ async def lifespan(app: FastAPI):
7474
logging.WARNING
7575
)
7676

77+
logging.getLogger("opentelemetry.sdk").setLevel(
78+
logging.ERROR
79+
)
80+
7781
# Initialize the FastAPI app
7882
app = FastAPI(lifespan=lifespan)
7983

0 commit comments

Comments
 (0)