Skip to content

Commit

Permalink
chore: log new CP connections at an INFO level
Browse files Browse the repository at this point in the history
Signed-off-by: Sanskar Jaiswal <[email protected]>
  • Loading branch information
aryan9600 committed Nov 18, 2024
1 parent 7130c24 commit 803dac2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kong/clustering/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ local kong = kong

local ngx = ngx
local ngx_log = ngx.log
local ngx_DEBUG = ngx.DEBUG
local ngx_INFO = ngx.INFO
local ngx_WARN = ngx.WARN
local ngx_ERR = ngx.ERR
local ngx_CLOSE = ngx.HTTP_CLOSE
Expand Down Expand Up @@ -90,7 +90,7 @@ function _M.connect_cp(dp, endpoint, protocols)
wss_proxy_authorization = proxy_opts.proxy_authorization,
}

ngx_log(ngx_DEBUG, _log_prefix,
ngx_log(ngx_INFO, _log_prefix,
"using proxy ", proxy_opts.proxy_url, " to connect control plane")
end

Expand Down

0 comments on commit 803dac2

Please sign in to comment.