Bug #71951 Add logging possibilities to JSON functions
Submitted: 5 Mar 2014 23:12 Modified: 23 Apr 2014 22:25
Reporter: Sveta Smirnova Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: JSON User-defined function ( UDF ) Severity:S4 (Feature request)
Version:0.3.1 OS:Any
Assigned to:
Triage: Needs Triage: D5 (Feature request)

[5 Mar 2014 23:12] Sveta Smirnova
Description:
Currently if JSON functions return NULL, because an error occurred during JSON processing it is not possible to say what was wrong. Since UDF cannot print error and warning information after arguments were proceed add possibility to write such information into error log file.

How to repeat:
See description.
[23 Apr 2014 22:25] Sveta Smirnova
Posted by developer:
 
Implemented in version 0.3.2.

Added new CMake option VERBOSE_LEVEL which controls verbosity of messages which are written to the error log file. Default value is "quiet": no messages. From user's perspective value "error" can be helpful.