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

    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

          Issue Links

            Activity

              People

              • Assignee:
                xc- Aki Mäkinen
                Reporter:
                xc- Aki Mäkinen
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

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