Skip to content

Commit

Permalink
remove some logs
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Nov 7, 2024
1 parent 9efeeaf commit 96d449a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions kong/clustering/services/sync/hooks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,8 @@ function _M:notify_all_nodes()
local res, err = kong.rpc:call(node, "kong.sync.v2.notify_new_version", msg)
if not res then
if not err:find("requested capability does not exist", nil, true) then
ngx_log(ngx_ERR, "unable to notify new version: ", err)
ngx_log(ngx_ERR, "unable to notify ", node, " new version: ", err)
end

else
ngx_log(ngx_DEBUG, "notified ", node, " ", latest_version)
end
end
end
Expand Down

0 comments on commit 96d449a

Please sign in to comment.