diff --git a/changelog/unreleased/kong/chore-clustering-log-level.yml b/changelog/unreleased/kong/chore-clustering-log-level.yml new file mode 100644 index 000000000000..392b3933287a --- /dev/null +++ b/changelog/unreleased/kong/chore-clustering-log-level.yml @@ -0,0 +1,3 @@ +message: "**Clustering**: Adjust error log levels for control plane connections." +type: bugfix +scope: Clustering diff --git a/kong/clustering/data_plane.lua b/kong/clustering/data_plane.lua index 35ae9161f270..75fa45818014 100644 --- a/kong/clustering/data_plane.lua +++ b/kong/clustering/data_plane.lua @@ -153,7 +153,7 @@ function _M:communicate(premature) local c, uri, err = clustering_utils.connect_cp(self, "/v1/outlet") if not c then - ngx_log(ngx_ERR, _log_prefix, "connection to control plane ", uri, " broken: ", err, + ngx_log(ngx_WARN, _log_prefix, "connection to control plane ", uri, " broken: ", err, " (retrying after ", reconnection_delay, " seconds)", log_suffix) assert(ngx.timer.at(reconnection_delay, function(premature)