]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Change log notice to debug. It is possible for a scheduled item to execute and be...
authorJoshua Colp <jcolp@digium.com>
Fri, 23 Feb 2007 21:53:41 +0000 (21:53 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 23 Feb 2007 21:53:41 +0000 (21:53 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56457 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/sched.c

index 30b0af2434743d8b8439be48e7ee6a194df7781a..abc5b3da1e42a9055eaedf7e3dde5b9a47f9cfeb 100644 (file)
@@ -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