switch(log_level) { case LOG_NOTICE: case LOG_WARNING: case LOG_ERR: 
if(log_level < LOG_INFO) { do_log = TRUE;  } else { if(log_level <= crm_log_level) { 
do_crm_log(int log_level, const char *function, const char *fmt, ...){	gboolean do_log = FALSE;	switch(log_level) {		case LOG_NOTICE:		case LOG_WARNING:		case LOG_ERR:			do_log = TRUE;			break;		default:			if(log_level <= crm_log_level) {				do_log = TRUE;				if(log_level != LOG_INFO) {					log_level = LOG_DEBUG;				}			}			break;	}	if(do_log) {			va_list ap;			char	buf[MAXLINE];			int	nbytes;			buf[MAXLINE-1] = EOS;			va_start(ap, fmt);			nbytes=vsnprintf(buf, sizeof(buf)-1, fmt, ap);			va_end(ap);			if(function == NULL) {				cl_log(log_level, "%s", buf);			} else {				cl_log(log_level, "(%s) %s", function, buf);			}	}}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/4333ea2414a2f644948dfee83dfc50c7535b4d66/utils.c/buggy/crm/common/utils.c