int log_level = LOG_INFO;
unsigned int log_level = LOG_INFO;
cibmon_diff(const char *event, HA_Message *msg){	int rc = -1;	const char *op = NULL;	crm_data_t *diff = NULL;	crm_data_t *update = get_message_xml(msg, F_CIB_UPDATE);	int log_level = LOG_INFO;		if(msg == NULL) {		crm_err("NULL update");		return;	}				ha_msg_value_int(msg, F_CIB_RC, &rc);		op = cl_get_string(msg, F_CIB_OPERATION);	diff = get_message_xml(msg, F_CIB_UPDATE_RESULT);	if(rc < cib_ok) {		log_level = LOG_WARNING;		crm_log_maybe(log_level, "[%s] %s ABORTED: %s",			      event, op, cib_error2string(rc));			} else {		crm_log_maybe(log_level, "[%s] %s confirmed", event, op);	}	log_cib_diff(log_level, diff, op);	if(update != NULL) {		print_xml_formatted(			log_level+2, "raw_update", update, NULL);	}	free_xml(diff);	free_xml(update);}