From 87fe68032acb482c5c4ea776031c2a58adfbc44f Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Fri, 25 Oct 2019 12:15:38 +0900 Subject: [PATCH] primary register: improve debug log output --- repmgr-action-primary.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repmgr-action-primary.c b/repmgr-action-primary.c index 6787778c..a5536758 100644 --- a/repmgr-action-primary.c +++ b/repmgr-action-primary.c @@ -106,7 +106,7 @@ do_primary_register(void) current_primary_id = get_primary_node_id(conn); if (current_primary_id != NODE_NOT_FOUND && current_primary_id != config_file_options.node_id) { - log_debug("XXX %i", current_primary_id); + log_debug("current active primary node ID is %i", current_primary_id); primary_conn = establish_primary_db_connection(conn, false); if (PQstatus(primary_conn) == CONNECTION_OK)