summaryrefslogtreecommitdiff
path: root/main/bridging.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2011-11-29 18:43:16 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2011-11-29 18:43:16 +0000
commit77b670c4ab62db2fa2386e15aa6ae4860bb401c9 (patch)
treefba9c5d22c4c3dea695dac6c51a49316f6381b4d /main/bridging.c
parentd7dec4f14fc018d18ed480358f9a265b81b230b9 (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 'main/bridging.c')
-rw-r--r--main/bridging.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/main/bridging.c b/main/bridging.c
index 503e86509..5ae861785 100644
--- a/main/bridging.c
+++ b/main/bridging.c
@@ -87,9 +87,7 @@ int __ast_bridge_technology_register(struct ast_bridge_technology *technology, s
AST_RWLIST_UNLOCK(&bridge_technologies);
- if (option_verbose > 1) {
- ast_verbose(VERBOSE_PREFIX_2 "Registered bridge technology %s\n", technology->name);
- }
+ ast_verb(2, "Registered bridge technology %s\n", technology->name);
return 0;
}
@@ -104,9 +102,7 @@ int ast_bridge_technology_unregister(struct ast_bridge_technology *technology)
AST_RWLIST_TRAVERSE_SAFE_BEGIN(&bridge_technologies, current, entry) {
if (current == technology) {
AST_RWLIST_REMOVE_CURRENT(entry);
- if (option_verbose > 1) {
- ast_verbose(VERBOSE_PREFIX_2 "Unregistered bridge technology %s\n", technology->name);
- }
+ ast_verb(2, "Unregistered bridge technology %s\n", technology->name);
break;
}
}