add: LOG(L_INFO, "INFO: signal %d received\n", signo);
context: static void sig_usr(int signo){	if (is_main){		if (sig_flag==0) sig_flag=signo;		else /*  previous sig. not processed yet, ignoring? */			return; ;		if (dont_fork) 				/* only one proc, doing everything from the sig handler,				unsafe, but this is only for debugging mode*/			handle_sigs();	}else{		/* process the important signals */		switch(signo){			case SIGINT:			case SIGPIPE:			case SIGTERM:					/* print memory stats for non-main too */					#ifdef PKG_MALLOC					LOG(memlog, "Memory status (pkg):\n");					pkg_status();					#endif					exit(0);					break;			case SIGUSR1:				/* statistics, do nothing, printed only from the main proc */					break;				/* ignored*/			case SIGUSR2:			case SIGHUP:					break;			case SIGCHLD:#ifndef 			STOP_JIRIS_CHANGES					LOG(L_INFO, "INFO: SIGCHLD received: "						"we do not worry about grand-children\n");#else					exit(0); /* terminate if one child died */#endif		}	}}