[Asterisk-code-review] app_chanspy.c: Reduce log message level from notice to verbose. (asterisk[17])

Friendly Automation asteriskteam at digium.com
Tue Jan 7 10:07:17 CST 2020


Friendly Automation has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/13552 )

Change subject: app_chanspy.c: Reduce log message level from notice to verbose.
......................................................................

app_chanspy.c: Reduce log message level from notice to verbose.

Change-Id: Ica5f38ccd8cdc077aef14d0c50425e0b29ac7e0a
---
M apps/app_chanspy.c
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Sean Bright: Looks good to me, but someone else must approve
  Benjamin Keith Ford: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved
  Friendly Automation: Approved for Submit



diff --git a/apps/app_chanspy.c b/apps/app_chanspy.c
index 2cc1af6..c66d250 100644
--- a/apps/app_chanspy.c
+++ b/apps/app_chanspy.c
@@ -509,7 +509,8 @@
 	int res;
 
 	ast_autochan_channel_lock(autochan);
-	ast_log(LOG_NOTICE, "Attaching %s to %s\n", spychan_name, ast_channel_name(autochan->chan));
+	ast_verb(3, "Attaching spy channel %s to %s\n",
+		spychan_name, ast_channel_name(autochan->chan));
 
 	if (ast_test_flag(flags, OPTION_READONLY)) {
 		ast_set_flag(audiohook, AST_AUDIOHOOK_MUTE_WRITE);

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

Gerrit-Project: asterisk
Gerrit-Branch: 17
Gerrit-Change-Id: Ica5f38ccd8cdc077aef14d0c50425e0b29ac7e0a
Gerrit-Change-Number: 13552
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Benjamin Keith Ford <bford at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Sean Bright <sean.bright at gmail.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200107/5b3f5c9c/attachment.html>


More information about the asterisk-code-review mailing list