[asterisk-commits] file: branch 1.4 r56457 - /branches/1.4/main/sched.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Feb 23 14:53:41 MST 2007


Author: file
Date: Fri Feb 23 15:53:41 2007
New Revision: 56457

URL: http://svn.digium.com/view/asterisk?view=rev&rev=56457
Log:
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.

Modified:
    branches/1.4/main/sched.c

Modified: branches/1.4/main/sched.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/sched.c?view=diff&rev=56457&r1=56456&r2=56457
==============================================================================
--- branches/1.4/main/sched.c (original)
+++ branches/1.4/main/sched.c Fri Feb 23 15:53:41 2007
@@ -280,7 +280,8 @@
 	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



More information about the asterisk-commits mailing list