From afdaf9be66165898236cf68129d38c070a38e0b4 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Mon, 11 Jun 2018 15:20:01 +0900 Subject: [PATCH] _create_event(): log event and node ID for debugging --- dbutils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dbutils.c b/dbutils.c index 0b1a0b781..c1a3c8f85 100644 --- a/dbutils.c +++ b/dbutils.c @@ -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