Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(clustering): adjust error log levels for control plane connections #13863

Merged
merged 1 commit into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions changelog/unreleased/kong/chore-clustering-log-level.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
message: "**Clustering**: Adjust error log levels for control plane connections."
type: bugfix
scope: Clustering
2 changes: 1 addition & 1 deletion kong/clustering/data_plane.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Loading