Revision
17035
Author
brian
Date
2010-03-17 19:05:39 -0500 (Wed, 17 Mar 2010)

Log Message

 REALLY?  STFU

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c (17034 => 17035)


--- freeswitch/trunk/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c	2010-03-17 21:40:09 UTC (rev 17034)
+++ freeswitch/trunk/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c	2010-03-18 00:05:39 UTC (rev 17035)
@@ -349,10 +349,10 @@
 
 	/* Count how many elements we have */
 	for( ; binding != NULL; binding = binding->next) {
-		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Found [%s]\n", binding->url);
+		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG10, "Found [%s]\n", binding->url);
 		count++;
 	}
-	switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "XML_CURL Fetch on %d bindings\n", count);
+	switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG10, "XML_CURL Fetch on %d bindings\n", count);
 
 	/* Make a local copy of the bindings */
 	bindings_copy = malloc(count*sizeof(xml_binding_t));
@@ -360,7 +360,7 @@
 	binding = root;
 	pos = 0;
 	for( ; binding != NULL; binding = binding->next) {
-		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Copying [%s] to 0x%0X\n", root->url, (unsigned)(intptr_t)&bindings_copy[pos]);
+		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG10, "Copying [%s] to 0x%0X\n", root->url, (unsigned)(intptr_t)&bindings_copy[pos]);
 		memcpy(&bindings_copy[pos], binding, sizeof(xml_binding_t));
 		pos++;
 	}
@@ -407,13 +407,13 @@
 			binding = &bindings_copy[b];
 			if(!binding->chosen) total_weight += binding->weight;
 		}
-		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Remaining total weight [%d]\n", total_weight);
+		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG10, "Remaining total weight [%d]\n", total_weight);
 
 		/* Pick a random number between [0, total_weight]
 		 * Note: Don't use rand() % M as it is not as random as this more complex 
 		 * method which achieves the same intent with more random results */
 		rand_weight = (int)( ((double)rand()) / (((double)(RAND_MAX) + (double)(1)) / ((double)total_weight + (double)(1))) );
-		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Random weight [%d]\n", rand_weight);
+		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG10, "Random weight [%d]\n", rand_weight);
 
 		/* Then grab the first unchosen element whose running_weight >= rand_weight 
 		   and move it into our 'picked' list */