repmgrd: improve logging of BDR monitoring

Also always log information about event_notification command
This commit is contained in:
Ian Barwick
2017-07-27 21:12:41 +09:00
parent 0037d58dae
commit 7cf3b9b618
7 changed files with 45 additions and 9 deletions

View File

@@ -647,7 +647,10 @@ try_reconnect(t_node_info *node_info)
}
log_warning(_("unable to reconnect to node after %i attempts"), max_attempts);
log_warning(_("unable to reconnect to node %i after %i attempts"),
node_info->node_id,
max_attempts);
node_info->node_status = NODE_STATUS_DOWN;
return NULL;