[asterisk-commits] russell: branch 1.6.2 r302788 - /branches/1.6.2/main/manager.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jan 19 17:06:18 CST 2011


Author: russell
Date: Wed Jan 19 17:06:14 2011
New Revision: 302788

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=302788
Log:
Turn a noisy verbose message into a debug message.

This can drown your console if you're using the AMI over HTTP.

Modified:
    branches/1.6.2/main/manager.c

Modified: branches/1.6.2/main/manager.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/main/manager.c?view=diff&rev=302788&r1=302787&r2=302788
==============================================================================
--- branches/1.6.2/main/manager.c (original)
+++ branches/1.6.2/main/manager.c Wed Jan 19 17:06:14 2011
@@ -3923,7 +3923,7 @@
 		hdrlen = strlen(v->name) + strlen(v->value) + 3;
 		m.headers[m.hdrcount] = alloca(hdrlen);
 		snprintf((char *) m.headers[m.hdrcount], hdrlen, "%s: %s", v->name, v->value);
-		ast_verb(4, "HTTP Manager add header %s\n", m.headers[m.hdrcount]);
+		ast_debug(1, "HTTP Manager add header %s\n", m.headers[m.hdrcount]);
 		m.hdrcount = x + 1;
 	}
 




More information about the asterisk-commits mailing list