From: BJ Weschke Date: Sat, 3 Jun 2006 22:08:25 +0000 (+0000) Subject: Make sure DEBUG is really cranked up before we decide to flood the logs with message... X-Git-Tag: 1.4.0-beta1~1092 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f9e9a08db69c30ff1e5ef890c5bf366136c8cdf;p=thirdparty%2Fasterisk.git 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: https://origsvn.digium.com/svn/asterisk/trunk@31840 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channel.c b/channel.c index 65dcf2f4fa..f5e9a89d76 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; }