From bd58e4128cb194ee3539d09c3abfc5cf1281a9f8 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Mon, 16 Jul 2018 15:33:10 +0900 Subject: [PATCH] repmgrd: log "promote_command" at log_level "INFO" If repmgrd is promoting the local node, it was only logging the contents of "promote_command" at DEBUG level; it would be useful to see this at the default log level. Related to GitHub #473. --- repmgrd-physical.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repmgrd-physical.c b/repmgrd-physical.c index c083f614..32053311 100644 --- a/repmgrd-physical.c +++ b/repmgrd-physical.c @@ -2076,7 +2076,7 @@ promote_self(void) /* the presence of this command has been established already */ promote_command = config_file_options.promote_command; - log_debug("promote command is:\n \"%s\"", + log_info(_("promote_command is:\n \"%s\""), promote_command); if (log_type == REPMGR_STDERR && *config_file_options.log_file)