From: Jonathan McDowell Date: Tue, 14 Sep 2004 18:31:16 +0000 (+0000) Subject: Quieten cleanup infrastructure. X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/commitdiff_plain/aaa245280785370d9ed8424cb6e0a50fd7eb23da 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. --- 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;