[Asterisk-code-review] app_softhangup.c: Reduce unnecessary warning to verbose message. (asterisk[13])
Friendly Automation
asteriskteam at digium.com
Tue Jan 7 10:50:34 CST 2020
Friendly Automation has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/13548 )
Change subject: app_softhangup.c: Reduce unnecessary warning to verbose message.
......................................................................
app_softhangup.c: Reduce unnecessary warning to verbose message.
Why log a warning for something your dialplan explicitly asked for?
Change-Id: I167b90daf4c7d75dd4b7ef94849f6cef05aa43a7
---
M apps/app_softhangup.c
1 file changed, 1 insertion(+), 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_softhangup.c b/apps/app_softhangup.c
index f83e19f..f634fc3 100644
--- a/apps/app_softhangup.c
+++ b/apps/app_softhangup.c
@@ -119,7 +119,7 @@
*cut = 0;
}
if (!strcasecmp(name, args.channel)) {
- ast_log(LOG_WARNING, "Soft hanging %s up.\n", ast_channel_name(c));
+ ast_verb(4, "Soft hanging %s up.\n", ast_channel_name(c));
ast_softhangup(c, AST_SOFTHANGUP_EXPLICIT);
if (!ast_test_flag(&flags, OPTION_ALL)) {
ast_channel_unlock(c);
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/13548
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Change-Id: I167b90daf4c7d75dd4b7ef94849f6cef05aa43a7
Gerrit-Change-Number: 13548
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/80572fb3/attachment.html>
More information about the asterisk-code-review
mailing list