mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 08:36:30 +00:00
added some more log messages
Now we should be able to distinguish different events more easily
This commit is contained in:
@@ -547,6 +547,7 @@ StandbyMonitor(void)
|
|||||||
|
|
||||||
if (!CheckConnection(myLocalConn, "standby"))
|
if (!CheckConnection(myLocalConn, "standby"))
|
||||||
{
|
{
|
||||||
|
log_err("Failed to connect to local node, exiting!\n");
|
||||||
terminate(1);
|
terminate(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1273,6 +1274,8 @@ terminate(int retval)
|
|||||||
unlink(pid_file);
|
unlink(pid_file);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log_info("Terminating...\n");
|
||||||
|
|
||||||
exit(retval);
|
exit(retval);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user