From 9f9e9a08db69c30ff1e5ef890c5bf366136c8cdf Mon Sep 17 00:00:00 2001 From: BJ Weschke Date: Sat, 3 Jun 2006 22:08:25 +0000 Subject: [PATCH] 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 --- channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.47.2