From: Mark Michelson Date: Tue, 13 Jan 2009 22:30:59 +0000 (+0000) Subject: Clarify a message that app_queue prints and change to a debug-level message X-Git-Tag: 1.6.2.0-beta1~457 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec0f18405e849f3141fc4a2d973ef15d50b255dd;p=thirdparty%2Fasterisk.git Clarify a message that app_queue prints and change to a debug-level message The "No one is answering..." verbose message contained 3 numbers that were not explained in any way to whoever was viewing the message. It is more helpful now since the message explains what the numbers mean. Also, the message has been downgraded to "DEBUG" level. (closes issue #14172) Reported by: caio1982 Patches: queue_answering_debug.diff uploaded by caio1982 (license 22) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@168579 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_queue.c b/apps/app_queue.c index 0ce20174a7..8a4a0e678c 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -2761,7 +2761,7 @@ static struct callattempt *wait_for_answer(struct queue_ent *qe, struct callatte if (numlines == (numbusies + numnochan)) { ast_debug(1, "Everyone is busy at this time\n"); } else { - ast_log(LOG_NOTICE, "No one is answering queue '%s' (%d/%d/%d)\n", queue, numlines, numbusies, numnochan); + ast_debug(3, "No one is answering queue '%s' (%d numlines / %d busies / %d failed channels)\n", queue, numlines, numbusies, numnochan); } *to = 0; return NULL;