diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-02-23 21:53:41 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-02-23 21:53:41 +0000 |
commit | 08d597c927dd7ad127b0690de8d601086d01bf50 (patch) | |
tree | f03308314cefb598e5d55c2bce5beb57ce9a24e8 | |
parent | 17d716384061d8a63ef12976e7026521baf0b6ee (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
-rw-r--r-- | main/sched.c | 3 |
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 |