Turn a NOTICE into a DEBUG message.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@110614 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Russell Bryant 17 years ago
parent d85d47e343
commit e34ecbfc92

@ -955,8 +955,8 @@ static int __schedule_action(void (*func)(const void *data), const void *data, c
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 @@ static int socket_read(int *id, int fd, short events, void *cbdata)
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;

Loading…
Cancel
Save