mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Fix debugging output
This commit is contained in:
@@ -7140,8 +7140,6 @@ create_recovery_file(t_node_info *node_record, t_conninfo_param_list *primary_co
|
||||
return false;
|
||||
}
|
||||
|
||||
log_debug("recovery file is:\n%s", recovery_file_buf.data);
|
||||
|
||||
for (cell = recovery_config.head; cell; cell = cell->next)
|
||||
{
|
||||
initPQExpBuffer(&recovery_file_buf);
|
||||
@@ -7149,6 +7147,8 @@ create_recovery_file(t_node_info *node_record, t_conninfo_param_list *primary_co
|
||||
"%s = '%s'\n",
|
||||
cell->key, cell->value);
|
||||
|
||||
log_debug("recovery.conf line: %s", recovery_file_buf.data);
|
||||
|
||||
if (fputs(recovery_file_buf.data, recovery_file) == EOF)
|
||||
{
|
||||
log_error(_("unable to write to recovery file at \"%s\""), recovery_file_path);
|
||||
|
||||
Reference in New Issue
Block a user