rem: DBG(log_buf);
add: DBG("%.*s", log_len, log_buf);
context: static int xdbg(struct sip_msg* msg, char* frm, char* str2){	int log_len;	log_len = buf_size;	if(xl_print_log(msg, (xl_elog_t*)frm, log_buf, &log_len)<0)		return -1;	log_buf[log_len] = '\0';	DBG(log_buf);	return 1;}