mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-23 07:06:30 +00:00
Logging fixes
This commit is contained in:
7
repmgr.c
7
repmgr.c
@@ -1924,7 +1924,7 @@ do_standby_promote(void)
|
||||
create_event_record(NULL,
|
||||
&options,
|
||||
options.node,
|
||||
"repmgrd_failover_promote",
|
||||
"standby_promote",
|
||||
false,
|
||||
details.data);
|
||||
|
||||
@@ -1937,7 +1937,10 @@ do_standby_promote(void)
|
||||
"Node %i was successfully promoted to master",
|
||||
options.node);
|
||||
|
||||
log_notice(_("STANDBY PROMOTE successful. You should REINDEX any hash indexes you have.\n"));
|
||||
log_notice(_("STANDBY PROMOTE successful\n"));
|
||||
|
||||
/* XXX this is probably misleading */
|
||||
log_hint(_("You should REINDEX any hash indexes you have.\n"));
|
||||
|
||||
/* Log the event */
|
||||
create_event_record(conn,
|
||||
|
||||
Reference in New Issue
Block a user