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

storm.cmd does not set -Ddaemon.name, which prevents Log4j2 from logging

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.1.0
    • 1.1.1
    • storm-core
    • None

    Description

      When trying to start any daemon from storm.cmd the following error occurs:

      main ERROR Unable to create file E:\apache-storm-1.1.1\logs/access-web-${sys:daemon.name}.log java.io.IOException: The filename, directory name, or volume label syntax is incorrect
      

      It looks like the daemon-name variable was introduced at some point, but only the storm.py script was updated. This prevents Storm from logging when started from this script.

      Attachments

        Issue Links

          Activity

            People

              srdo Stig Rohde Døssing
              srdo Stig Rohde Døssing
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 0.5h
                  0.5h