mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-27 08:56:29 +00:00
Convert erroneously forgotten printf debug to proper logging
This commit is contained in:
4
repmgr.c
4
repmgr.c
@@ -1694,8 +1694,6 @@ do_standby_clone(void)
|
|||||||
/* XXX ensure this function does not exit on error as we'd need to stop the backup */
|
/* XXX ensure this function does not exit on error as we'd need to stop the backup */
|
||||||
read_backup_label(local_data_directory, &backup_label);
|
read_backup_label(local_data_directory, &backup_label);
|
||||||
|
|
||||||
printf("Label: %s; file: %s\n", backup_label.label, backup_label.start_wal_file);
|
|
||||||
|
|
||||||
/* Handle tablespaces */
|
/* Handle tablespaces */
|
||||||
|
|
||||||
sqlquery_snprintf(sqlquery,
|
sqlquery_snprintf(sqlquery,
|
||||||
@@ -2300,6 +2298,8 @@ read_backup_label(const char *local_data_directory, struct BackupLabel *out_back
|
|||||||
}
|
}
|
||||||
|
|
||||||
(void) fclose(label_file);
|
(void) fclose(label_file);
|
||||||
|
|
||||||
|
log_debug(_("read_backup_label: label is %s; start wal file is %s\n"), out_backup_label->label, out_backup_label->start_wal_file);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user