[asterisk-commits] russell: branch 1.4 r44911 - /branches/1.4/res/res_jabber.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Oct 12 03:24:38 MST 2006


Author: russell
Date: Thu Oct 12 05:24:36 2006
New Revision: 44911

URL: http://svn.digium.com/view/asterisk?rev=44911&view=rev
Log:
change some debug output to use LOG_DEBUG instead of verbose output

Modified:
    branches/1.4/res/res_jabber.c

Modified: branches/1.4/res/res_jabber.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/res/res_jabber.c?rev=44911&r1=44910&r2=44911&view=diff
==============================================================================
--- branches/1.4/res/res_jabber.c (original)
+++ branches/1.4/res/res_jabber.c Thu Oct 12 05:24:36 2006
@@ -621,32 +621,32 @@
 
 	switch (pak->type) {
 	case IKS_PAK_NONE:
-		if (option_verbose > 4)
-			ast_verbose(VERBOSE_PREFIX_3 "JABBER: I Don't know what to do with you NONE\n");
+		if (option_debug)
+			ast_log(LOG_DEBUG, "JABBER: I Don't know what to do with you NONE\n");
 		break;
 	case IKS_PAK_MESSAGE:
 		aji_handle_message(client, pak);
-		if (option_verbose > 4)
-			ast_verbose(VERBOSE_PREFIX_3 "JABBER: I Don't know what to do with you MESSAGE\n");
+		if (option_debug)
+			ast_log(LOG_DEBUG, "JABBER: I Don't know what to do with you MESSAGE\n");
 		break;
 	case IKS_PAK_PRESENCE:
 		aji_handle_presence(client, pak);
-		if (option_verbose > 4)
-			ast_verbose(VERBOSE_PREFIX_3 "JABBER: I Do know how to handle presence!!\n");
+		if (option_debug)
+			ast_log(LOG_DEBUG, "JABBER: I Do know how to handle presence!!\n");
 		break;
 	case IKS_PAK_S10N:
 		aji_handle_subscribe(client, pak);
-		if (option_verbose > 4)
-			ast_verbose(VERBOSE_PREFIX_3 "JABBER: I Dont know S10N subscribe!!\n");
+		if (option_debug)
+			ast_log(LOG_DEBUG, "JABBER: I Dont know S10N subscribe!!\n");
 		break;
 	case IKS_PAK_IQ:
-		if (option_verbose > 4)
-			ast_verbose(VERBOSE_PREFIX_3 "JABBER: I Dont have an IQ!!!\n");
+		if (option_debug)
+			ast_log(LOG_DEBUG, "JABBER: I Dont have an IQ!!!\n");
 		aji_handle_iq(client, node);
 		break;
 	default:
-		if (option_verbose > 4)
-			ast_verbose(VERBOSE_PREFIX_3 "JABBER: I Dont know %i\n", pak->type);
+		if (option_debug)
+			ast_log(LOG_DEBUG, "JABBER: I Dont know %i\n", pak->type);
 		break;
 	}
 	



More information about the asterisk-commits mailing list