Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-1013

Log4j2 Main Arguments Lookup by name doesn't work

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 2.2
    • Fix Version/s: None
    • Component/s: API, Core, Lookups
    • Labels:
      None
    • Environment:

      Windows 7 x64 Ultimate and Java 8U31 x64. Project created using Eclipse.

    • Flags:
      Important

      Description

      Accessing Main Arguments by using index based look up works : ${main:0}
      Accessing Main Arguments by using name based look up doesn't work : ${main:--file}

      When trying to access by name it doesn't retrieve the argument but retrieves "-file".

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ioan_mihaila Ioan Mihaila
            • Votes:
              4 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

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