diff --git a/repmgrd-physical.c b/repmgrd-physical.c index cc12117f..6296d92f 100644 --- a/repmgrd-physical.c +++ b/repmgrd-physical.c @@ -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 */ diff --git a/repmgrd.c b/repmgrd.c index 7a9a5bda..05e2c7e4 100644 --- a/repmgrd.c +++ b/repmgrd.c @@ -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