diff --git a/kong/workspaces/init.lua b/kong/workspaces/init.lua index 9df40062363d..15fccb05ebaf 100644 --- a/kong/workspaces/init.lua +++ b/kong/workspaces/init.lua @@ -7,7 +7,7 @@ local workspaces = {} function workspaces.upsert_default() local old_default_ws_id = kong.default_workspace local default_ws, err = kong.db.workspaces:select_by_name("default") - ngx.log(ngx.WARN, "+++ kong.db.workspaces:select_by_name(default) -> ", tostring(default_ws) , " err:", err) + ngx.log(ngx.WARN, "+++ kong.db.workspaces:select_by_name(default) -> ", require("inspect")(default_ws) , " err:", err) if err then return nil, err end