Type: New Feature
Affects Version/s: 8.5.2
Fix Version/s: 8.6.0
Security Level: Jimmy
gh.sprint.customfield.default.name:ZK 8.6.0 S1, ZK 8.6.0 S2
In current ZK org.zkoss.zel.Util, some exceptions are ignored and a stacktrace is output in the console directly.
Since these exceptions are used for debugging, they may cause confusion when parsing the server logs for errors.
Using the internal ZK logger instead of direct output to console would allow developers to change the log level for this class / package depending whether or not they want to see the trace in server logs.
For full ZK update: replace all direct .printStacktrace() in zk code by a logger call.
INFO seem to be a good log level for these calls (will allow for deactivation without removing warnings and errors)
Note: should be still visible by default if the developer doesn't manually suppress the logs.
- is duplicated by
ZK-4049 Zel GetMethod would print ignored exception message