From 80e87df066140875aa72a5d8c9a4ad2d643a4d09 Mon Sep 17 00:00:00 2001 From: chronolaw Date: Thu, 7 Nov 2024 14:41:39 +0800 Subject: [PATCH] clean some logs --- kong/clustering/services/sync/rpc.lua | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/kong/clustering/services/sync/rpc.lua b/kong/clustering/services/sync/rpc.lua index ce7ba6cf7830..8ff2abb36d7f 100644 --- a/kong/clustering/services/sync/rpc.lua +++ b/kong/clustering/services/sync/rpc.lua @@ -113,10 +113,7 @@ function _M:init_cp(manager) end if isempty(res) then - ngx_log(ngx_DEBUG, - "[kong.sync.v2] no delta for node_id: ", node_id, - ", current_version: ", default_namespace_version, - ", node is already up to date" ) + -- node is already up to date return gen_delta_result(res, false) end @@ -205,7 +202,7 @@ local function do_sync() local deltas = ns_delta.deltas if isempty(deltas) then - ngx_log(ngx_DEBUG, "no delta to sync") + -- no delta to sync return true end