diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-14 16:45:57 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-14 16:45:57 +0000 |
commit | fae33818aed7a21135cf13e1605467cce6e118db (patch) | |
tree | 51ba0f11a129a8cb6ac70f5ba8cf3eca7e6e498d /apps/app_amd.c | |
parent | 0a0c7211e3d82ebb1d801bc5f0bdd1b043369802 (diff) |
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)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47617 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_amd.c')
-rw-r--r-- | apps/app_amd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_amd.c b/apps/app_amd.c index 21e9b90fa..e5dee1efc 100644 --- a/apps/app_amd.c +++ b/apps/app_amd.c @@ -151,8 +151,8 @@ static void isAnsweringMachine(struct ast_channel *chan, void *data) 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) |