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

Richard Mudgett asteriskteam at digium.com
Sun Jan 5 21:12:01 CST 2020


Richard Mudgett has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/13512 )


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(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/12/13512/1

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/+/13512
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: Ica5f38ccd8cdc077aef14d0c50425e0b29ac7e0a
Gerrit-Change-Number: 13512
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200105/01291e66/attachment.html>


More information about the asterisk-code-review mailing list