From: Richard Mudgett Date: Sun, 29 Dec 2019 23:31:28 +0000 (-0600) Subject: app_softhangup.c: Reduce unnecessary warning to verbose message. X-Git-Tag: 13.31.0-rc1~33^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cd2e340e026ad49fd65ef4df465a9e31048494d;p=thirdparty%2Fasterisk.git app_softhangup.c: Reduce unnecessary warning to verbose message. Why log a warning for something your dialplan explicitly asked for? Change-Id: I167b90daf4c7d75dd4b7ef94849f6cef05aa43a7 --- diff --git a/apps/app_softhangup.c b/apps/app_softhangup.c index f83e19f499..f634fc3105 100644 --- a/apps/app_softhangup.c +++ b/apps/app_softhangup.c @@ -119,7 +119,7 @@ static int softhangup_exec(struct ast_channel *chan, const char *data) *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);