summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorrofl0r <rofl0r@users.noreply.github.com>2020-09-07 16:59:37 +0100
committerrofl0r <rofl0r@users.noreply.github.com>2020-09-07 16:59:37 +0100
commit487a062fccbd1632b183debc146d61b4bdbce048 (patch)
treedf21c6a51c9c7b1c10e31ba9597bbb47a97c54a6 /src
parent23b0c8465306a0e069a639085bb08266b803a2de (diff)
change loglevel of start/stop/reload messages to NOTICE
this allows to see them when the verbose INFO loglevel is not desired. closes #78
Diffstat (limited to 'src')
-rw-r--r--src/conf.c2
-rw-r--r--src/main.c4
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 ();