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

Log4j2 Main Arguments Lookup by name doesn't work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.2
    • 2.13.1
    • API, Core, Lookups
    • None
    • Windows 7 x64 Ultimate and Java 8U31 x64. Project created using Eclipse.

    • 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

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ioan_mihaila Ioan Mihaila
              Votes:
              4 Vote for this issue
              Watchers:
              9 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