[asterisk-commits] file: trunk r56458 - in /trunk: ./ main/sched.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Feb 23 14:57:08 MST 2007


Author: file
Date: Fri Feb 23 15:57:07 2007
New Revision: 56458

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

........

Modified:
    trunk/   (props changed)
    trunk/main/sched.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/main/sched.c
URL: http://svn.digium.com/view/asterisk/trunk/main/sched.c?view=diff&rev=56458&r1=56457&r2=56458
==============================================================================
--- trunk/main/sched.c (original)
+++ trunk/main/sched.c Fri Feb 23 15:57:07 2007
@@ -281,7 +281,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