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

file resources as a property

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.2
    • Fix Version/s: 2.9.0
    • Component/s: Configurators
    • Labels:
      None

      Description

      i want to use a resource file as property without using a Lookup. for example:
      in my file properties(first = toto second = titi), this should be load in properties by using (property resources="file" ) for example. the program inject my variable from file as a Map properties like (properties name="first" value="toto" && properties name="second" value="titi") and we can access into it whithout a prefix lookup. i seen the program source of Properties.java and i think it's possible to read file and inject it as a property.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bourieboux tsimba kely
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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