mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
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.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user