Skip to content

Commit ab34cd0

Browse files
Merge pull request #622 from microsoft/psl-bug-25839
fix: added the supress of opentelemetry Warning
2 parents 9b87ab9 + eb478c8 commit ab34cd0

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)