From ef3089225065a5fa4aab78df726532be524fe031 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Tue, 28 Jan 2020 13:40:59 +0900 Subject: [PATCH] standby switchover: improve wording of pending archive file messages --- repmgr-action-standby.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repmgr-action-standby.c b/repmgr-action-standby.c index e16d5185..caad91d5 100644 --- a/repmgr-action-standby.c +++ b/repmgr-action-standby.c @@ -3988,7 +3988,7 @@ do_standby_switchover(void) exit(ERR_SWITCHOVER_FAIL); } - log_warning(_("number of pending archive files on demotion candidate \"%s\" is critical"), + log_warning(_("number of pending archive files on demotion candidate \"%s\" exceeds the critical threshold"), remote_node_record.node_name); log_detail(_("%i pending archive files (critical threshold: %i)"), files, threshold); @@ -3998,7 +3998,7 @@ do_standby_switchover(void) case CHECK_STATUS_WARNING: { - log_warning(_("number of pending archive files on demotion candidate \"%s\" is warning"), + log_warning(_("number of pending archive files on demotion candidate \"%s\" exceeds the warning threshold"), remote_node_record.node_name); log_detail(_("%i pending archive files (warning threshold: %i)"), files, threshold);