From: George Joseph Date: Thu, 29 Jan 2015 16:47:28 +0000 (+0000) Subject: res_pjsip_exten_state: Reduce log clutter... change a WARNING to a VERBOSE/2 X-Git-Tag: 14.0.0-beta1~1277 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8357ffab9c939062a2a6d546a90c766f519d30ca;p=thirdparty%2Fasterisk.git res_pjsip_exten_state: Reduce log clutter... change a WARNING to a VERBOSE/2 Reduce log clutter by changing the "Watcher for hint %s (removed|deactivated)" message from WARNING to VERBOSE/2. Tested-by: George Joseph Review: https://reviewboard.asterisk.org/r/4387/ ........ Merged revisions 431403 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@431404 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/res/res_pjsip_exten_state.c b/res/res_pjsip_exten_state.c index a8740e5153..7649c7c297 100644 --- a/res/res_pjsip_exten_state.c +++ b/res/res_pjsip_exten_state.c @@ -212,7 +212,7 @@ static struct notify_task_data *alloc_notify_task_data(char *exten, struct exten if ((info->exten_state == AST_EXTENSION_DEACTIVATED) || (info->exten_state == AST_EXTENSION_REMOVED)) { - ast_log(LOG_WARNING, "Watcher for hint %s %s\n", exten, info->exten_state + ast_verb(2, "Watcher for hint %s %s\n", exten, info->exten_state == AST_EXTENSION_REMOVED ? "removed" : "deactivated"); task_data->terminate = 1; }