[asterisk-commits] russell: branch 1.4 r110614 - /branches/1.4/channels/chan_iax2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Mar 24 12:34:56 CDT 2008


Author: russell
Date: Mon Mar 24 12:34:56 2008
New Revision: 110614

URL: http://svn.digium.com/view/asterisk?view=rev&rev=110614
Log:
Turn a NOTICE into a DEBUG message.

Modified:
    branches/1.4/channels/chan_iax2.c

Modified: branches/1.4/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_iax2.c?view=diff&rev=110614&r1=110613&r2=110614
==============================================================================
--- branches/1.4/channels/chan_iax2.c (original)
+++ branches/1.4/channels/chan_iax2.c Mon Mar 24 12:34:56 2008
@@ -955,8 +955,8 @@
 		return 0;
 	}
 	time(&t);
-	if (t != lasterror) 
-		ast_log(LOG_NOTICE, "Out of idle IAX2 threads for scheduling!\n");
+	if (t != lasterror && option_debug) 
+		ast_log(LOG_DEBUG, "Out of idle IAX2 threads for scheduling!\n");
 	lasterror = t;
 
 	return -1;
@@ -6698,8 +6698,8 @@
 
 	if (!(thread = find_idle_thread())) {
 		time(&t);
-		if (t != last_errtime)
-			ast_log(LOG_NOTICE, "Out of idle IAX2 threads for I/O, pausing!\n");
+		if (t != last_errtime && option_debug)
+			ast_log(LOG_DEBUG, "Out of idle IAX2 threads for I/O, pausing!\n");
 		last_errtime = t;
 		usleep(1);
 		return 1;




More information about the asterisk-commits mailing list