From 82f0085a702c6082f5f6a9f4f307f981893d9dc4 Mon Sep 17 00:00:00 2001 From: AlinsRan Date: Tue, 21 Jul 2026 07:39:24 +0800 Subject: [PATCH] fix(radixtree_host_uri): add route id to service-fetch failure log --- apisix/http/router/radixtree_host_uri.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apisix/http/router/radixtree_host_uri.lua b/apisix/http/router/radixtree_host_uri.lua index 680a04fbe815..2699d402c48b 100644 --- a/apisix/http/router/radixtree_host_uri.lua +++ b/apisix/http/router/radixtree_host_uri.lua @@ -61,7 +61,8 @@ local function push_host_router(route, host_routes, only_uri_routes) local service = service_fetch(route.value.service_id) if not service then core.log.error("failed to fetch service configuration by ", - "id: ", route.value.service_id) + "id: ", route.value.service_id, + " route id: ", route.value.id) -- we keep the behavior that missing service won't affect the route matching else hosts = service.value.hosts