]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Change a warning message to a debug message. This is happening quite frequently,
authorRussell Bryant <russell@russellbryant.com>
Fri, 7 Mar 2008 17:16:58 +0000 (17:16 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 7 Mar 2008 17:16:58 +0000 (17:16 +0000)
and it is not worth spamming users with these messages unless we are pretty confident
that it should never happen.  As it stands today, it _will_ and _does_ happen and
until that gets cleaned up a reasonable amount on the development side, let's not
spam the logs of everyone else.

(closes issue #12154)

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

include/asterisk/sched.h

index 5476dadf76869e93d5f6ccfc7c7121cefadb147f..c26cbf48b33fab0c7a9b48a0f43d05fceea6c473 100644 (file)
@@ -41,7 +41,7 @@ extern "C" {
                while (id > -1 && ast_sched_del(sched, id) && ++_count < 10) \
                        usleep(1); \
                if (_count == 10) \
-                       ast_log(LOG_WARNING, "Unable to cancel schedule ID %d.  This is probably a bug (%s: %s, line %d).\n", id, __FILE__, __PRETTY_FUNCTION__, __LINE__); \
+                       ast_log(LOG_DEBUG, "Unable to cancel schedule ID %d.  This is probably a bug (%s: %s, line %d).\n", id, __FILE__, __PRETTY_FUNCTION__, __LINE__); \
                id = -1; \
        } while (0);