mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56: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)
|
||||
{
|
||||
|
||||
log_debug(" upstream node %i has recovered",
|
||||
log_debug("upstream node %i has recovered",
|
||||
upstream_node_info.node_id);
|
||||
|
||||
/* 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);
|
||||
if (is_server_available_params(&conninfo_params) == true)
|
||||
{
|
||||
|
||||
log_notice(_("node has recovered, reconnecting"));
|
||||
log_notice(_("node %i has recovered, reconnecting"), node_info->node_id);
|
||||
|
||||
/*
|
||||
* XXX we should also handle the case where node is pingable but
|
||||
|
||||
Reference in New Issue
Block a user