From 3ca642fee1010158724d4900eb4ed76b3381427e Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Tue, 5 May 2020 13:36:59 +0900 Subject: [PATCH] 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. --- repmgrd-physical.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repmgrd-physical.c b/repmgrd-physical.c index 5a8057d4..b14e280f 100644 --- a/repmgrd-physical.c +++ b/repmgrd-physical.c @@ -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)) {