You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Aki Mäkinen (JIRA)" <ji...@apache.org> on 2017/03/27 19:43:41 UTC

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

Aki Mäkinen created STORM-2435:
----------------------------------

             Summary: 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
            Priority: Minor


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)