From 68959169144ad66b3c47a3f9bdec6a4cca14ad7b Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Wed, 25 Mar 2020 13:55:21 +0900 Subject: [PATCH] node service: explicitly note the node identity where CHECKPOINT issued This output is logged during "standby switchover", so it's useful to be aware of which node the activity is being performed on. --- repmgr-action-node.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/repmgr-action-node.c b/repmgr-action-node.c index f19278e2..6163e710 100644 --- a/repmgr-action-node.c +++ b/repmgr-action-node.c @@ -2077,10 +2077,11 @@ do_node_service(void) else { - log_notice(_("issuing CHECKPOINT")); + log_notice(_("issuing CHECKPOINT on node \"%s\" (ID: %i) "), + config_file_options.node_name, + config_file_options.node_id); checkpoint(conn); - } }