Lower the loglevel output of the cleanup infrastructure to INFO rather
than NOTICE; ie don't show it on the default install.
*/
void trytocleanup(void)
{
*/
void trytocleanup(void)
{
- logthing(LOGTHING_NOTICE, "Setting cleanup flag.");
+ logthing(LOGTHING_INFO, "Setting cleanup flag.");
should_cleanup = true;
return;
should_cleanup = true;
return;
*/
void sig_cleanup(int signal)
{
*/
void sig_cleanup(int signal)
{
- logthing(LOGTHING_NOTICE, "Got signal %d.", signal);
+ logthing(LOGTHING_INFO, "Got signal %d.", signal);
{
struct sigaction alarmh;
{
struct sigaction alarmh;
- logthing(LOGTHING_NOTICE, "Catching signals");
+ logthing(LOGTHING_INFO, "Catching signals");
memset(&alarmh, 0, sizeof(alarmh));
alarmh.sa_handler = sig_cleanup;
memset(&alarmh, 0, sizeof(alarmh));
alarmh.sa_handler = sig_cleanup;