From db49206fc578bc5b05028a307c3a7c8daf9e622b Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Sun, 4 Jan 2015 08:25:50 +0900 Subject: [PATCH] Clean up logging output --- repmgr.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/repmgr.c b/repmgr.c index ffa65b9f..6442bd65 100644 --- a/repmgr.c +++ b/repmgr.c @@ -1005,15 +1005,11 @@ do_standby_clone(void) stop_backup: - /* - * Inform the master that we have finished the backup. - */ - log_notice(_("Finishing backup...\n")); - /* If the rsync failed then exit */ if (r != 0) { - log_err(_("Couldn't rsync the master...\nYou have to cleanup the destination directory (%s) manually!\n"), + log_err(_("Unable to take a base backup of the primary server\n")); + log_warning(_("The destination directory (%s) will need to be cleaned up manually\n"), local_data_directory); exit(ERR_BAD_RSYNC); }