[ https://issues.apache.org/jira/browse/STORM-2435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15967222#comment-15967222 ]
Aki Mäkinen commented on STORM-2435: ------------------------------------ It could be brought also to older supported versions as well, at least to 1.x releases. If needed, I can also create necessary pull requests, I just need to know which versions are still supported. > Logging in storm.js inconsistent to console.log and does not support log > levels > ------------------------------------------------------------------------------- > > Key: STORM-2435 > URL: https://issues.apache.org/jira/browse/STORM-2435 > Project: Apache Storm > Issue Type: Bug > Components: storm-multilang > Reporter: Aki Mäkinen > Assignee: Aki Mäkinen > Priority: Minor > Fix For: 2.0.0 > > Time Spent: 40m > Remaining Estimate: 0h > > Javascript multilang is not currently consistent with how console.log works. > With console.log it is possible to: > - print several variables / values ( console.log(foo, bar, 1) ) > - print objects without first stringifying them. > Logging in JavaScript multilang should be made to accept multiple arguments > without restricting the types, stringifying them if necessary. > Additionally, though multilang protocol supports logging levels, they are not > implemented in storm.js at the moment. > Implementing these would make it more natural and inline with how JavaScript > logging works. Changes in code are limited to storm.js -- This message was sent by Atlassian JIRA (v6.3.15#6346)