mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-13 05:18:55 +00:00
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/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@431403 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -212,7 +212,7 @@ static struct notify_task_data *alloc_notify_task_data(char *exten, struct exten
|
|||||||
|
|
||||||
if ((info->exten_state == AST_EXTENSION_DEACTIVATED) ||
|
if ((info->exten_state == AST_EXTENSION_DEACTIVATED) ||
|
||||||
(info->exten_state == AST_EXTENSION_REMOVED)) {
|
(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");
|
== AST_EXTENSION_REMOVED ? "removed" : "deactivated");
|
||||||
task_data->terminate = 1;
|
task_data->terminate = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user