[svn-commits] russell: branch 1.4 r237697 - /branches/1.4/main/utils.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jan 5 11:13:31 CST 2010


Author: russell
Date: Tue Jan  5 11:13:28 2010
New Revision: 237697

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=237697
Log:
Change a NOTICE log message to DEBUG where it belongs.

(closes issue #16479)
Reported by: alexrecarey

(closes SWP-577)

Modified:
    branches/1.4/main/utils.c

Modified: branches/1.4/main/utils.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/main/utils.c?view=diff&rev=237697&r1=237696&r2=237697
==============================================================================
--- branches/1.4/main/utils.c (original)
+++ branches/1.4/main/utils.c Tue Jan  5 11:13:28 2010
@@ -935,7 +935,9 @@
 		while ((res = ast_poll(&pfd, 1, timeoutms - elapsed)) <= 0) {
 			if (res == 0) {
 				/* timed out. */
-				ast_log(LOG_NOTICE, "Timed out trying to write\n");
+				if (option_debug) {
+					ast_log(LOG_DEBUG, "Timed out trying to write\n");
+				}
 				return -1;
 			} else if (res == -1) {
 				/* poll() returned an error, check to see if it was fatal */




More information about the svn-commits mailing list