From 43598310765313f9412e6f9f3b4a3b006f32cfde Mon Sep 17 00:00:00 2001 From: Xiaochen Wang Date: Tue, 8 Oct 2024 16:39:17 +0800 Subject: [PATCH] add debug log to test case --- kong/init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kong/init.lua b/kong/init.lua index 8fcfc59247392..5678367dd009f 100644 --- a/kong/init.lua +++ b/kong/init.lua @@ -740,7 +740,9 @@ function Kong.init() else local default_ws = db.workspaces:select_by_name("default") + ngx.log(ngx.ERR, "kong.default_workspace: 1:", tostring(kong.default_workspace)) kong.default_workspace = default_ws and default_ws.id + ngx.log(ngx.ERR, "kong.default_workspace: 2:", tostring(kong.default_workspace)) local ok, err = runloop.build_plugins_iterator("init") if not ok then