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

file resources as a property

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.8.2
    • 2.9.0
    • Configurators
    • 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

            Unassigned Unassigned
            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