aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
diff options
context:
space:
mode:
authorbweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-03 22:08:25 +0000
committerbweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-03 22:08:25 +0000
commita2ba8183c146937b184076fda75256673cde2f76 (patch)
treeb035f19c4afdaeb18a76bee7892b0e08e275cb91 /channel.c
parent07bc1d61dc44500c241a717b95830b2d12722f8f (diff)
Make sure DEBUG is really cranked up before we decide to flood the logs with messages about Internal timing when a channel has to make a decision about generating internal timing (eg - MOH)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31840 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channel.c')
-rw-r--r--channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channel.c b/channel.c
index 65dcf2f4f..f5e9a89d7 100644
--- a/channel.c
+++ b/channel.c
@@ -2097,7 +2097,7 @@ done:
int ast_internal_timing_enabled(struct ast_channel *chan)
{
int ret = ast_opt_internal_timing && chan->timingfd > -1;
- if (option_debug > 3)
+ if (option_debug > 20)
ast_log(LOG_DEBUG, "Internal timing is %s (option_internal_timing=%d chan->timingfd=%d)\n", ret? "enabled": "disabled", ast_opt_internal_timing, chan->timingfd);
return ret;
}