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

@@ -2368,8 +2368,10 @@ _create_event(PGconn *conn, t_configuration_options *options, int node_id, char
*dst_ptr = '\0';
log_debug("_create_event(): executing\n%s", parsed_command);
log_info(_("executing notification command for event \"%s\""),
event);
log_detail(_("command is:\n %s"), parsed_command);
r = system(parsed_command);
if (r != 0)
{