Strip trailing \n from various log messages

This commit is contained in:
Ian Barwick
2017-05-12 08:44:44 +09:00
parent 51da33a260
commit d6b36e13d8
2 changed files with 2 additions and 2 deletions

View File

@@ -476,7 +476,7 @@ _parse_config(t_configuration_options *options, ItemList *error_list, ItemList *
else
{
known_parameter = false;
log_warning(_("%s/%s: unknown name/value pair provided; ignoring\n"), name, value);
log_warning(_("%s/%s: unknown name/value pair provided; ignoring"), name, value);
}
/*
* Raise an error if a known parameter is provided with an empty value.

View File

@@ -2073,7 +2073,7 @@ create_recovery_file(const char *data_dir, t_conninfo_param_list *recovery_conni
return false;
}
log_debug("create_recovery_file(): creating \"%s\"...\n",
log_debug("create_recovery_file(): creating \"%s\"...",
recovery_file_path);
/* standby_mode = 'on' */