From ca2c46a6e300d0f2ec14899120952ceefb312d18 Mon Sep 17 00:00:00 2001 From: Peter Double <134428501+solaius@users.noreply.github.com> Date: Tue, 1 Apr 2025 05:29:30 -0400 Subject: [PATCH] Update llama_stack/distribution/server/server.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adding logger per request. Co-authored-by: Sébastien Han --- llama_stack/distribution/server/server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/llama_stack/distribution/server/server.py b/llama_stack/distribution/server/server.py index efdc7c46e..ad1bcfa78 100644 --- a/llama_stack/distribution/server/server.py +++ b/llama_stack/distribution/server/server.py @@ -257,6 +257,7 @@ class TracingMiddleware: _, _, trace_path = find_matching_endpoint(scope.get("method", "GET"), path, self.endpoint_impls) except ValueError: # If no matching endpoint is found, pass through to FastAPI + logger.debug(f"No matching endpoint found for path: {path}, falling back to FastAPI") return await self.app(scope, receive, send) trace_context = await start_trace(trace_path, {"__location__": "server", "raw_path": path})