Skip to content

Commit

Permalink
add debug log to test case
Browse files Browse the repository at this point in the history
  • Loading branch information
chobits committed Oct 8, 2024
1 parent a9760bf commit 4359831
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kong/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4359831

Please sign in to comment.