[asterisk-dev] [Code Review] 3919: func_config: Change 'Not Found' message from ERROR to DEBUG

George Joseph reviewboard at asterisk.org
Mon Aug 18 11:46:40 CDT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3919/
-----------------------------------------------------------

Review request for Asterisk Developers.


Repository: Asterisk


Description
-------

This one's been bugging me forever...

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.  Maybe it'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 can.


Diffs
-----

  branches/12/funcs/func_config.c 421326 

Diff: https://reviewboard.asterisk.org/r/3919/diff/


Testing
-------


Thanks,

George Joseph

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140818/626065c0/attachment.html>


More information about the asterisk-dev mailing list