You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Robert Joseph Evans (JIRA)" <ji...@apache.org> on 2017/04/13 02:14:41 UTC

[jira] [Resolved] (STORM-2435) Logging in storm.js inconsistent to console.log and does not support log levels

     [ https://issues.apache.org/jira/browse/STORM-2435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Joseph Evans resolved STORM-2435.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

Great work [~xc-].  I merged this into master.  If you want it in an older branch please let me know so I can pull it back.

> 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)