From 487a062fccbd1632b183debc146d61b4bdbce048 Mon Sep 17 00:00:00 2001 From: rofl0r Date: Mon, 7 Sep 2020 16:59:37 +0100 Subject: [PATCH] change loglevel of start/stop/reload messages to NOTICE this allows to see them when the verbose INFO loglevel is not desired. closes #78 --- src/conf.c | 2 +- src/main.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/conf.c b/src/conf.c index 27dc951..bf2458f 100644 --- a/src/conf.c +++ b/src/conf.c @@ -464,7 +464,7 @@ int reload_config_file (const char *config_fname, struct config_s *conf) { int ret; - log_message (LOG_INFO, "Reloading config file"); + log_message (LOG_NOTICE, "Reloading config file"); free_config (conf); diff --git a/src/main.c b/src/main.c index da3feb3..7b702ab 100644 --- a/src/main.c +++ b/src/main.c @@ -293,7 +293,7 @@ main (int argc, char **argv) */ umask (0177); - log_message (LOG_INFO, "Initializing " PACKAGE " ..."); + log_message (LOG_NOTICE, "Initializing " PACKAGE " ..."); if (config_compile_regex()) { exit (EX_SOFTWARE); @@ -396,7 +396,7 @@ main (int argc, char **argv) child_main_loop (); - log_message (LOG_INFO, "Shutting down."); + log_message (LOG_NOTICE, "Shutting down."); child_kill_children (SIGTERM); child_close_sock ();