change loglevel of start/stop/reload messages to NOTICE
this allows to see them when the verbose INFO loglevel is not desired. closes #78
This commit is contained in:
		
							parent
							
								
									23b0c84653
								
							
						
					
					
						commit
						487a062fcc
					
				@ -464,7 +464,7 @@ int reload_config_file (const char *config_fname, struct config_s *conf)
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
        int ret;
 | 
					        int ret;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        log_message (LOG_INFO, "Reloading config file");
 | 
					        log_message (LOG_NOTICE, "Reloading config file");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        free_config (conf);
 | 
					        free_config (conf);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -293,7 +293,7 @@ main (int argc, char **argv)
 | 
				
			|||||||
         */
 | 
					         */
 | 
				
			||||||
        umask (0177);
 | 
					        umask (0177);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        log_message (LOG_INFO, "Initializing " PACKAGE " ...");
 | 
					        log_message (LOG_NOTICE, "Initializing " PACKAGE " ...");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (config_compile_regex()) {
 | 
					        if (config_compile_regex()) {
 | 
				
			||||||
                exit (EX_SOFTWARE);
 | 
					                exit (EX_SOFTWARE);
 | 
				
			||||||
@ -396,7 +396,7 @@ main (int argc, char **argv)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        child_main_loop ();
 | 
					        child_main_loop ();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        log_message (LOG_INFO, "Shutting down.");
 | 
					        log_message (LOG_NOTICE, "Shutting down.");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        child_kill_children (SIGTERM);
 | 
					        child_kill_children (SIGTERM);
 | 
				
			||||||
        child_close_sock ();
 | 
					        child_close_sock ();
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user