From 40712e5eaffefe3635c4216c1649459921d9ab84 Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Fri, 23 Feb 2007 21:53:41 +0000 Subject: [PATCH] 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@56457 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/sched.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/sched.c b/main/sched.c index 30b0af2434..abc5b3da1e 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