diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-02-23 21:57:07 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-02-23 21:57:07 +0000 |
commit | 1bfbea18eb9d25dc42d311342b6c8d263ea427c2 (patch) | |
tree | 42dd34c856f58f6fbc2dc5b8c1f2c0c43a9a9662 /main/sched.c | |
parent | d9ccedef174fbf66181dca94b04062d8cebe5d61 (diff) |
Merged revisions 56457 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r56457 | file | 2007-02-23 16:53:41 -0500 (Fri, 23 Feb 2007) | 2 lines
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/trunk@56458 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/sched.c')
-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 5fc0ef9ed..851e07db5 100644 --- a/main/sched.c +++ b/main/sched.c @@ -281,7 +281,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 |