change some debug output to use LOG_DEBUG instead of verbose output

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44911 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2006-10-12 10:24:36 +00:00
parent 3c72ad9cb1
commit fecc14cd0f

View File

@@ -621,32 +621,32 @@ static int aji_act_hook(void *data, int type, iks *node)
switch (pak->type) { switch (pak->type) {
case IKS_PAK_NONE: case IKS_PAK_NONE:
if (option_verbose > 4) if (option_debug)
ast_verbose(VERBOSE_PREFIX_3 "JABBER: I Don't know what to do with you NONE\n"); ast_log(LOG_DEBUG, "JABBER: I Don't know what to do with you NONE\n");
break; break;
case IKS_PAK_MESSAGE: case IKS_PAK_MESSAGE:
aji_handle_message(client, pak); aji_handle_message(client, pak);
if (option_verbose > 4) if (option_debug)
ast_verbose(VERBOSE_PREFIX_3 "JABBER: I Don't know what to do with you MESSAGE\n"); ast_log(LOG_DEBUG, "JABBER: I Don't know what to do with you MESSAGE\n");
break; break;
case IKS_PAK_PRESENCE: case IKS_PAK_PRESENCE:
aji_handle_presence(client, pak); aji_handle_presence(client, pak);
if (option_verbose > 4) if (option_debug)
ast_verbose(VERBOSE_PREFIX_3 "JABBER: I Do know how to handle presence!!\n"); ast_log(LOG_DEBUG, "JABBER: I Do know how to handle presence!!\n");
break; break;
case IKS_PAK_S10N: case IKS_PAK_S10N:
aji_handle_subscribe(client, pak); aji_handle_subscribe(client, pak);
if (option_verbose > 4) if (option_debug)
ast_verbose(VERBOSE_PREFIX_3 "JABBER: I Dont know S10N subscribe!!\n"); ast_log(LOG_DEBUG, "JABBER: I Dont know S10N subscribe!!\n");
break; break;
case IKS_PAK_IQ: case IKS_PAK_IQ:
if (option_verbose > 4) if (option_debug)
ast_verbose(VERBOSE_PREFIX_3 "JABBER: I Dont have an IQ!!!\n"); ast_log(LOG_DEBUG, "JABBER: I Dont have an IQ!!!\n");
aji_handle_iq(client, node); aji_handle_iq(client, node);
break; break;
default: default:
if (option_verbose > 4) if (option_debug)
ast_verbose(VERBOSE_PREFIX_3 "JABBER: I Dont know %i\n", pak->type); ast_log(LOG_DEBUG, "JABBER: I Dont know %i\n", pak->type);
break; break;
} }