diff options
author | Matt O'Gorman <mogorman@digium.com> | 2006-09-19 16:23:45 +0000 |
---|---|---|
committer | Matt O'Gorman <mogorman@digium.com> | 2006-09-19 16:23:45 +0000 |
commit | d0a1a0033d6c36966a9905ecd19748cf0b0d1cfc (patch) | |
tree | a58a9222645e8ccbba65497c74d4df0ef7353d54 /apps/app_macro.c | |
parent | 65abfac363f99206d7d419a265a697278d890542 (diff) |
similar patch for verbose vs debug with minor changes
bug 2617
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_macro.c')
-rw-r--r-- | apps/app_macro.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_macro.c b/apps/app_macro.c index 21c2b7c62..42b32dd83 100644 --- a/apps/app_macro.c +++ b/apps/app_macro.c @@ -238,14 +238,14 @@ static int _macro_exec(struct ast_channel *chan, void *data, int exclusive) case AST_PBX_KEEPALIVE: if (option_debug) ast_log(LOG_DEBUG, "Spawn extension (%s,%s,%d) exited KEEPALIVE in macro %s on '%s'\n", chan->context, chan->exten, chan->priority, macro, chan->name); - else if (option_verbose > 1) + if (option_verbose > 1) ast_verbose( VERBOSE_PREFIX_2 "Spawn extension (%s, %s, %d) exited KEEPALIVE in macro '%s' on '%s'\n", chan->context, chan->exten, chan->priority, macro, chan->name); goto out; break; default: if (option_debug) ast_log(LOG_DEBUG, "Spawn extension (%s,%s,%d) exited non-zero on '%s' in macro '%s'\n", chan->context, chan->exten, chan->priority, chan->name, macro); - else if (option_verbose > 1) + if (option_verbose > 1) ast_verbose( VERBOSE_PREFIX_2 "Spawn extension (%s, %s, %d) exited non-zero on '%s' in macro '%s'\n", chan->context, chan->exten, chan->priority, chan->name, macro); dead = 1; goto out; |