[asterisk-commits] file: branch 1.4 r47617 -
/branches/1.4/apps/app_amd.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Nov 14 09:45:58 MST 2006
Author: file
Date: Tue Nov 14 10:45:57 2006
New Revision: 47617
URL: http://svn.digium.com/view/asterisk?view=rev&rev=47617
Log:
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:
branches/1.4/apps/app_amd.c
Modified: branches/1.4/apps/app_amd.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_amd.c?view=diff&rev=47617&r1=47616&r2=47617
==============================================================================
--- branches/1.4/apps/app_amd.c (original)
+++ branches/1.4/apps/app_amd.c Tue Nov 14 10:45:57 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