added some more log messages

Now we should be able to distinguish different events more easily
This commit is contained in:
Christian Kruse
2014-02-18 14:10:12 +01:00
parent 0dc46f0dc8
commit 10ca8037f8

View File

@@ -547,6 +547,7 @@ StandbyMonitor(void)
if (!CheckConnection(myLocalConn, "standby"))
{
log_err("Failed to connect to local node, exiting!\n");
terminate(1);
}
@@ -1273,6 +1274,8 @@ terminate(int retval)
unlink(pid_file);
}
log_info("Terminating...\n");
exit(retval);
}