repmgrd: log receipt of SIGHUP at log level NOTICE

PostgreSQL itself logs it at log level LOG, which we don't have,
but NOTICE seems reasonable, especially as we log SIGTERM as that.
This commit is contained in:
Ian Barwick
2020-05-05 13:36:59 +09:00
parent be8e5b45fa
commit 3ca642fee1

View File

@@ -4688,7 +4688,7 @@ format_failover_state(FailoverState failover_state)
static void
handle_sighup(PGconn **conn, t_server_type server_type)
{
log_debug("SIGHUP received");
log_notice(_("received SIGHUP, reloading configuration"));
if (reload_config(&config_file_options, server_type))
{