Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-2435

Logging in storm.js inconsistent to console.log and does not support log levels

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0, 1.1.1, 1.2.0
    • Component/s: storm-multilang
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              xc- Aki Mäkinen
              Reporter:
              xc- Aki Mäkinen

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m

                  Issue deployment