Make sure DEBUG is really cranked up before we decide to flood the logs with message...
authorBJ Weschke <bweschke@btwtech.com>
Sat, 3 Jun 2006 22:08:25 +0000 (22:08 +0000)
committerBJ Weschke <bweschke@btwtech.com>
Sat, 3 Jun 2006 22:08:25 +0000 (22:08 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31840 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channel.c

index 65dcf2f..f5e9a89 100644 (file)
--- 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;
 }