Skip to content

Commit

Permalink
_create_event(): log event and node ID for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
ibarwick committed Jun 11, 2018
1 parent 8067924 commit afdaf9b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dbutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -3142,6 +3142,8 @@ _create_event(PGconn *conn, t_configuration_options *options, int node_id, char
char event_timestamp[MAXLEN] = "";
bool success = true;

log_verbose(LOG_DEBUG, "_create_event(): event is \"%s\" for node %i", event, node_id);

/*
* Only attempt to write a record if a connection handle was provided.
* Also check that the repmgr schema has been properly initialised - if
Expand Down

0 comments on commit afdaf9b

Please sign in to comment.