Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
7.0.2, 7.1.0
-
None
-
1
Description
Currently, users' cannot use log()/console.log() statements in javascript functions run by the js-evaluator. Users should be able to do custom user/application logging from js-evaluator javascript functions and have the messages be put in user-controlled application logs, similar to how the Eventing Service handles the application logs from the Eventing functions (doc). The user/customer should be able to configure the maximum number of log files (for rotation), and the maximum size of each log per js-evaluator library, preferably via js-evaluator REST API's. The same defaults as the Eventing Service application logs can be used (40MB for the application log file, and 10, for the number of application log files before rotation).
Note: Originally, this issue was part of MB-36628, but Jeelan Poola agreed that it would be best to open a separate issue since MB-36628 is also being used for the js-evaluator system logging issue.