]> git.ipfire.org Git - thirdparty/asterisk.git/commit
func_config: Change 'Not Found' message from ERROR to DEBUG
authorGeorge Joseph <george.joseph@fairview5.com>
Mon, 18 Aug 2014 20:16:08 +0000 (20:16 +0000)
committerGeorge Joseph <george.joseph@fairview5.com>
Mon, 18 Aug 2014 20:16:08 +0000 (20:16 +0000)
commit9498a686f316ed2f19bca1ec84f9b043d4a826ff
tree1b20fee8614ccf64b1158c4d1fe9c26c28f6ad38
parenta640d70ae83f3981f3a9105ba931d083f1cefb60
func_config: Change 'Not Found' message from ERROR to DEBUG

When you call the CONFIG dialplan function with the name of a variable that
doesn't exist in the target context you get an ERROR.  This does nothing but
clutter up the logs with messages that may be perfectly acceptable.  Just
because a variable wasn't in the context doesn't mean it's an error.  Maybei
t's optional or just needs to be defaulted or ignored.

This patch changes the log level from ERROR to DEBUG.  If a dialplan developer
wants to debug their dialplan they still canby setting the console debug level
as needed.

Tested by: George Joseph
Review: https://reviewboard.asterisk.org/r/3919/
........

Merged revisions 421327 from http://svn.asterisk.org/svn/asterisk/branches/1.8

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@421328 65c4cc65-6c06-0410-ace0-fbb531ad65f3
funcs/func_config.c