diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-21 01:00:51 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-21 01:00:51 +0000 |
commit | df2a37ab18a6275f742260324b6c8dbc512be514 (patch) | |
tree | 4125913d35ac73c1b40037f2c7be260789d4c136 | |
parent | 7043c5e8cedf49b24003271e7c91099621da7b23 (diff) |
issue #5794
git-svn-id: http://svn.digium.com/svn/asterisk/branches/v1-2@7157 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-x | ChangeLog | 2 | ||||
-rwxr-xr-x | channels/chan_iax2.c | 6 | ||||
-rwxr-xr-x | channels/chan_sip.c | 4 |
3 files changed, 7 insertions, 5 deletions
@@ -1,5 +1,7 @@ 2005-11-20 Russell Bryant <russell@digium.com> + * channels/chan_sip.c channels/chan_iax2.c: Change warning messages about the number of scheduled events happening all at once to debug messages. (issue #5794) + * pbx/pbx_spool.c: Fix crash when a value is not specified with a variable on a Set: line in a call file. (issue #5806) * apps/app_meetme.c: Fix the 'X' option to the MeetMe application. (issue #5773) diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 710892998..c051330a6 100755 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -7956,7 +7956,7 @@ static void *network_thread(void *ignore) } ast_mutex_unlock(&iaxq.lock); if (count >= 20) - ast_log(LOG_WARNING, "chan_iax2: Sent %d queued outbound frames all at once\n", count); + ast_log(LOG_DEBUG, "chan_iax2: Sent %d queued outbound frames all at once\n", count); /* Now do the IO, and run scheduled tasks */ res = ast_sched_wait(sched); @@ -7965,10 +7965,10 @@ static void *network_thread(void *ignore) res = ast_io_wait(io, res); if (res >= 0) { if (res >= 20) - ast_log(LOG_WARNING, "chan_iax2: ast_io_wait ran %d I/Os all at once\n", res); + ast_log(LOG_DEBUG, "chan_iax2: ast_io_wait ran %d I/Os all at once\n", res); count = ast_sched_runq(sched); if (count >= 20) - ast_log(LOG_WARNING, "chan_iax2: ast_sched_runq ran %d scheduled tasks all at once\n", count); + ast_log(LOG_DEBUG, "chan_iax2: ast_sched_runq ran %d scheduled tasks all at once\n", count); } } return NULL; diff --git a/channels/chan_sip.c b/channels/chan_sip.c index c3b6e9b1d..3d5e4544c 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -11245,12 +11245,12 @@ restartsearch: res = 1; res = ast_io_wait(io, res); if (res > 20) - ast_log(LOG_WARNING, "chan_sip: ast_io_wait ran %d all at once\n", res); + ast_log(LOG_DEBUG, "chan_sip: ast_io_wait ran %d all at once\n", res); ast_mutex_lock(&monlock); if (res >= 0) { res = ast_sched_runq(sched); if (res >= 20) - ast_log(LOG_WARNING, "chan_sip: ast_sched_runq ran %d all at once\n", res); + ast_log(LOG_DEBUG, "chan_sip: ast_sched_runq ran %d all at once\n", res); } /* needs work to send mwi to realtime peers */ |