From 7b9f6f5352c7ef1f356207710cc6c035928d8587 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Wed, 18 Nov 2015 09:10:22 +0900 Subject: [PATCH] Minor log message fixes --- dbutils.c | 6 +++--- repmgr.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dbutils.c b/dbutils.c index 7510c1fe..6353f433 100644 --- a/dbutils.c +++ b/dbutils.c @@ -87,7 +87,7 @@ begin_transaction(PGconn *conn) { PGresult *res; - log_verbose(LOG_DEBUG, "begin_transaction()"); + log_verbose(LOG_DEBUG, "begin_transaction()\n"); res = PQexec(conn, "BEGIN"); @@ -111,7 +111,7 @@ commit_transaction(PGconn *conn) { PGresult *res; - log_verbose(LOG_DEBUG, "commit_transaction()"); + log_verbose(LOG_DEBUG, "commit_transaction()\n"); res = PQexec(conn, "COMMIT"); @@ -135,7 +135,7 @@ rollback_transaction(PGconn *conn) { PGresult *res; - log_verbose(LOG_DEBUG, "rollback_transaction()"); + log_verbose(LOG_DEBUG, "rollback_transaction()\n"); res = PQexec(conn, "ROLLBACK"); diff --git a/repmgr.c b/repmgr.c index 2441ceb4..f0866e88 100644 --- a/repmgr.c +++ b/repmgr.c @@ -3650,7 +3650,7 @@ update_node_record_set_master(PGconn *conn, int this_node_id) PGresult *res; char sqlquery[QUERY_STR_LEN]; - log_debug(_("Setting %i as master and marking existing master as failed\n"), this_node_id); + log_debug(_("setting node %i as master and marking existing master as failed\n"), this_node_id); begin_transaction(conn);