[asterisk-commits] file: trunk r47618 - in /trunk: ./ apps/app_amd.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Nov 14 09:48:04 MST 2006


Author: file
Date: Tue Nov 14 10:48:03 2006
New Revision: 47618

URL: http://svn.digium.com/view/asterisk?view=rev&rev=47618
Log:
Merged revisions 47617 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r47617 | file | 2006-11-14 11:45:57 -0500 (Tue, 14 Nov 2006) | 2 lines

Use LOG_DEBUG to print out the indication that app_amd is using default settings instead of using LOG_NOTICE. This stops needless logging of this information under normal circumstances. (issue #8361 reported by Seb7)

........

Modified:
    trunk/   (props changed)
    trunk/apps/app_amd.c

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

Modified: trunk/apps/app_amd.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_amd.c?view=diff&rev=47618&r1=47617&r2=47618
==============================================================================
--- trunk/apps/app_amd.c (original)
+++ trunk/apps/app_amd.c Tue Nov 14 10:48:03 2006
@@ -151,8 +151,8 @@
 			maximumNumberOfWords = atoi(args.argMaximumNumberOfWords);
 		if (!ast_strlen_zero(args.argSilenceThreshold))
 			silenceThreshold = atoi(args.argSilenceThreshold);
-	} else
-		ast_log(LOG_NOTICE, "AMD using the default parameters.\n");
+	} else if (option_debug)
+		ast_log(LOG_DEBUG, "AMD using the default parameters.\n");
 
 	/* Now we're ready to roll! */
 	if (option_verbose > 2)



More information about the asterisk-commits mailing list