From 9319f212a978bb57915d6f0402ff73c6089566c5 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 97274884..a74c27df 100644 --- a/repmgr-action-standby.c +++ b/repmgr-action-standby.c @@ -3908,7 +3908,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); @@ -3918,7 +3918,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);