From aaa245280785370d9ed8424cb6e0a50fd7eb23da Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Tue, 14 Sep 2004 18:31:16 +0000 Subject: [PATCH 1/1] Quieten cleanup infrastructure. Lower the loglevel output of the cleanup infrastructure to INFO rather than NOTICE; ie don't show it on the default install. --- cleanup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cleanup.c b/cleanup.c index 9d5e24a..32b997a 100644 --- a/cleanup.c +++ b/cleanup.c @@ -24,7 +24,7 @@ static bool should_cleanup = false; */ void trytocleanup(void) { - logthing(LOGTHING_NOTICE, "Setting cleanup flag."); + logthing(LOGTHING_INFO, "Setting cleanup flag."); should_cleanup = true; return; @@ -49,7 +49,7 @@ bool cleanup(void) */ void sig_cleanup(int signal) { - logthing(LOGTHING_NOTICE, "Got signal %d.", signal); + logthing(LOGTHING_INFO, "Got signal %d.", signal); trytocleanup(); return; @@ -66,7 +66,7 @@ void catchsignals(void) { struct sigaction alarmh; - logthing(LOGTHING_NOTICE, "Catching signals"); + logthing(LOGTHING_INFO, "Catching signals"); memset(&alarmh, 0, sizeof(alarmh)); alarmh.sa_handler = sig_cleanup; -- 2.39.5