mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-25 08:06:29 +00:00
repmgrd: various minor logging improvements
This commit is contained in:
@@ -1040,7 +1040,7 @@ monitor_streaming_standby(void)
|
|||||||
if (PQstatus(upstream_conn) == CONNECTION_OK)
|
if (PQstatus(upstream_conn) == CONNECTION_OK)
|
||||||
{
|
{
|
||||||
|
|
||||||
log_debug(" upstream node %i has recovered",
|
log_debug("upstream node %i has recovered",
|
||||||
upstream_node_info.node_id);
|
upstream_node_info.node_id);
|
||||||
|
|
||||||
/* XXX check here if upstream is still primary */
|
/* XXX check here if upstream is still primary */
|
||||||
|
|||||||
@@ -910,8 +910,7 @@ try_reconnect(PGconn **conn, t_node_info *node_info)
|
|||||||
node_info->node_id, i + 1, max_attempts);
|
node_info->node_id, i + 1, max_attempts);
|
||||||
if (is_server_available_params(&conninfo_params) == true)
|
if (is_server_available_params(&conninfo_params) == true)
|
||||||
{
|
{
|
||||||
|
log_notice(_("node %i has recovered, reconnecting"), node_info->node_id);
|
||||||
log_notice(_("node has recovered, reconnecting"));
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* XXX we should also handle the case where node is pingable but
|
* XXX we should also handle the case where node is pingable but
|
||||||
|
|||||||
Reference in New Issue
Block a user