mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 08:36:30 +00:00
repmgrd: fix log output
This commit is contained in:
@@ -620,7 +620,7 @@ try_reconnect(t_node_info *node_info)
|
|||||||
for (i = 0; i < max_attempts; i++)
|
for (i = 0; i < max_attempts; i++)
|
||||||
{
|
{
|
||||||
log_info(_("checking state of node %i, %i of %i attempts"),
|
log_info(_("checking state of node %i, %i of %i attempts"),
|
||||||
node_info->node_id, i, max_attempts);
|
node_info->node_id, i + 1, max_attempts);
|
||||||
if (is_server_available(node_info->conninfo) == true)
|
if (is_server_available(node_info->conninfo) == true)
|
||||||
{
|
{
|
||||||
log_notice(_("node has recovered, reconnecting"));
|
log_notice(_("node has recovered, reconnecting"));
|
||||||
|
|||||||
Reference in New Issue
Block a user