res_pjsip_exten_state: Reduce log clutter... change a WARNING to a VERBOSE/2
authorGeorge Joseph <george.joseph@fairview5.com>
Thu, 29 Jan 2015 16:47:28 +0000 (16:47 +0000)
committerGeorge Joseph <george.joseph@fairview5.com>
Thu, 29 Jan 2015 16:47:28 +0000 (16:47 +0000)
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

res/res_pjsip_exten_state.c

index a8740e5..7649c7c 100644 (file)
@@ -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;
        }