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/branches/1.4@237697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2010-01-05 17:13:28 +00:00
parent 6dd970ce9b
commit e91967f383

View File

@@ -935,7 +935,9 @@ int ast_carefulwrite(int fd, char *s, int len, 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");
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 */