Merged revisions 47433 via svnmerge from
authorKevin P. Fleming <kpfleming@digium.com>
Fri, 10 Nov 2006 16:38:33 +0000 (16:38 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Fri, 10 Nov 2006 16:38:33 +0000 (16:38 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47433 | kpfleming | 2006-11-10 10:36:49 -0600 (Fri, 10 Nov 2006) | 2 lines

if adding a queue member is LOG_NOTICE, then removing them should be LOG_NOTICE, not LOG_DEBUG

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47435 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index 3712a4d..77ab091 100644 (file)
@@ -3200,9 +3200,8 @@ static int rqm_exec(struct ast_channel *chan, void *data)
 
        switch (remove_from_queue(args.queuename, args.interface)) {
        case RES_OKAY:
-               if (option_debug)
-                       ast_log(LOG_DEBUG, "Removed interface '%s' from queue '%s'\n", args.interface, args.queuename);
                ast_queue_log(args.queuename, chan->uniqueid, args.interface, "REMOVEMEMBER", "%s", "");
+               ast_log(LOG_NOTICE, "Removed interface '%s' from queue '%s'\n", args.interface, args.queuename);
                pbx_builtin_setvar_helper(chan, "RQMSTATUS", "REMOVED");
                res = 0;
                break;