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:
@@ -38,7 +38,7 @@ establish_db_connection(const char *conninfo, const bool exit_on_error)
|
||||
strcpy(connection_string, conninfo);
|
||||
strcat(connection_string, " fallback_application_name='repmgr'");
|
||||
|
||||
log_debug(_("Connecting to: '%s'"), connection_string);
|
||||
log_debug(_("Connecting to: '%s'\n"), connection_string);
|
||||
|
||||
conn = PQconnectdb(connection_string);
|
||||
|
||||
|
||||
@@ -488,10 +488,9 @@ witness_monitor(void)
|
||||
* we cannot reconnect, return false.
|
||||
*/
|
||||
check_connection(primary_conn, "master"); /* this take up to
|
||||
* local_options.reconnect_atte
|
||||
* mpts *
|
||||
* local_options.reconnect_intv
|
||||
* l seconds */
|
||||
* local_options.reconnect_attempts
|
||||
* local_options.reconnect_intvl seconds
|
||||
*/
|
||||
|
||||
if (PQstatus(primary_conn) != CONNECTION_OK)
|
||||
{
|
||||
@@ -620,7 +619,7 @@ standby_monitor(void)
|
||||
else
|
||||
{
|
||||
log_err(
|
||||
_("We haven't found a new master, waiting %s seconds before retry...\n"),
|
||||
_("We haven't found a new master, waiting %i seconds before retry...\n"),
|
||||
local_options.retry_promote_interval_secs
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user