Merged revisions 237697 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Tue, 5 Jan 2010 17:16:01 +0000 (17:16 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 5 Jan 2010 17:16:01 +0000 (17:16 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r237697 | russell | 2010-01-05 11:13:28 -0600 (Tue, 05 Jan 2010) | 7 lines

  Change a NOTICE log message to DEBUG where it belongs.

  (closes issue #16479)
  Reported by: alexrecarey

  (closes SWP-577)
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@237699 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/utils.c

index b6f9b51..cb5018e 100644 (file)
@@ -1071,7 +1071,7 @@ static int ast_wait_for_output(int fd, int timeoutms)
        while ((res = ast_poll(&pfd, 1, timeoutms - elapsed)) <= 0) {
                if (res == 0) {
                        /* timed out. */
-                       ast_log(LOG_NOTICE, "Timed out trying to write\n");
+                       ast_debug(1, "Timed out trying to write\n");
                        return -1;
                } else if (res == -1) {
                        /* poll() returned an error, check to see if it was fatal */