From bfed30d5ddff73425069d49603440c56771598d0 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Fri, 7 Mar 2008 17:16:58 +0000 Subject: [PATCH] Change a warning message to a debug message. This is happening quite frequently, 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/asterisk/sched.h b/include/asterisk/sched.h index 5476dadf76..c26cbf48b3 100644 --- a/include/asterisk/sched.h +++ b/include/asterisk/sched.h @@ -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);