diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2011-11-29 18:43:16 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2011-11-29 18:43:16 +0000 |
commit | 77b670c4ab62db2fa2386e15aa6ae4860bb401c9 (patch) | |
tree | fba9c5d22c4c3dea695dac6c51a49316f6381b4d /codecs | |
parent | d7dec4f14fc018d18ed480358f9a265b81b230b9 (diff) |
Allow each logging destination and console to have its own notion of the verbosity level.
Review: https://reviewboard.asterisk.org/r/1599
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@346391 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'codecs')
-rw-r--r-- | codecs/codec_dahdi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/codecs/codec_dahdi.c b/codecs/codec_dahdi.c index 9e15d4095..bca0256e3 100644 --- a/codecs/codec_dahdi.c +++ b/codecs/codec_dahdi.c @@ -603,8 +603,7 @@ static int find_transcoders(void) } for (info.tcnum = 0; !(res = ioctl(fd, DAHDI_TC_GETINFO, &info)); info.tcnum++) { - if (option_verbose > 1) - ast_verbose(VERBOSE_PREFIX_2 "Found transcoder '%s'.\n", info.name); + ast_verb(2, "Found transcoder '%s'.\n", info.name); /* Complex codecs need to support signed linear. If the * hardware transcoder does not natively support signed linear @@ -628,8 +627,9 @@ static int find_transcoders(void) close(fd); - if (!info.tcnum && (option_verbose > 1)) - ast_verbose(VERBOSE_PREFIX_2 "No hardware transcoders found.\n"); + if (!info.tcnum) { + ast_verb(2, "No hardware transcoders found.\n"); + } for (x = 0; x < 32; x++) { for (y = 0; y < 32; y++) { |