You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Jungtaek Lim (JIRA)" <ji...@apache.org> on 2017/07/03 15:43:00 UTC

[jira] [Updated] (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 ]

Jungtaek Lim updated STORM-2435:
--------------------------------
    Fix Version/s: 1.2.0

> 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, 1.1.1, 1.2.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.4.14#64029)