]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Change debug level for state change message that is not really informative when debug...
authorOlle Johansson <oej@edvina.net>
Thu, 1 Feb 2007 20:38:58 +0000 (20:38 +0000)
committerOlle Johansson <oej@edvina.net>
Thu, 1 Feb 2007 20:38:58 +0000 (20:38 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53081 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index 9bb6b5b7dd841ee39a839015d507c172635c670c..98223946ffda3ed9540b0d30f12f686ddc2c247f 100644 (file)
@@ -542,7 +542,7 @@ static void *changethread(void *data)
        AST_LIST_UNLOCK(&interfaces);
 
        if (!curint) {
-               if (option_debug)
+               if (option_debug > 2)
                        ast_log(LOG_DEBUG, "Device '%s/%s' changed to state '%d' (%s) but we don't care because they're not a member of any queue.\n", technology, loc, sc->state, devstate2str(sc->state));
                free(sc);
                return NULL;