[Asterisk-code-review] AMI: be less verbose when adding headers to AMI messages. (asterisk[13])

Jaco Kroon asteriskteam at digium.com
Mon Aug 20 08:13:34 CDT 2018


Jaco Kroon has uploaded this change for review. ( https://gerrit.asterisk.org/9970


Change subject: AMI: be less verbose when adding headers to AMI messages.
......................................................................

AMI: be less verbose when adding headers to AMI messages.

All AMI message headers are being sent to the verbose channel, this
should go to debug rather.

Change-Id: Ic45e673fde05bd544be95ad5cdbc69518207c1a1
---
M main/manager.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/70/9970/1

diff --git a/main/manager.c b/main/manager.c
index b2d3c0e..ec632d7 100644
--- a/main/manager.c
+++ b/main/manager.c
@@ -8166,7 +8166,7 @@
 			continue;
 		}
 		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(4, "HTTP Manager add header %s\n", m.headers[m.hdrcount]);
 		++m.hdrcount;
 	}
 

-- 
To view, visit https://gerrit.asterisk.org/9970
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic45e673fde05bd544be95ad5cdbc69518207c1a1
Gerrit-Change-Number: 9970
Gerrit-PatchSet: 1
Gerrit-Owner: Jaco Kroon <jaco at uls.co.za>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180820/f6b04863/attachment-0001.html>


More information about the asterisk-code-review mailing list