aboutsummaryrefslogtreecommitdiffstats
path: root/main/sched.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-23 21:53:41 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-23 21:53:41 +0000
commit08d597c927dd7ad127b0690de8d601086d01bf50 (patch)
treef03308314cefb598e5d55c2bce5beb57ce9a24e8 /main/sched.c
parent17d716384061d8a63ef12976e7026521baf0b6ee (diff)
Change log notice to debug. It is possible for a scheduled item to execute and be deleted at close to the same time and unavoidable. If this happens this message creeps up.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@56457 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/sched.c')
-rw-r--r--main/sched.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/sched.c b/main/sched.c
index 30b0af243..abc5b3da1 100644
--- a/main/sched.c
+++ b/main/sched.c
@@ -280,7 +280,8 @@ int ast_sched_del(struct sched_context *con, int id)
ast_mutex_unlock(&con->lock);
if (!s) {
- ast_log(LOG_NOTICE, "Attempted to delete nonexistent schedule entry %d!\n", id);
+ if (option_debug)
+ ast_log(LOG_DEBUG, "Attempted to delete nonexistent schedule entry %d!\n", id);
#ifdef DO_CRASH
CRASH;
#endif