You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@logging.apache.org by "tsimba kely (JIRA)" <ji...@apache.org> on 2017/05/12 14:13:04 UTC

[jira] [Closed] (LOG4J2-1907) file resources as a property

     [ https://issues.apache.org/jira/browse/LOG4J2-1907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

tsimba kely closed LOG4J2-1907.
-------------------------------
    Resolution: Fixed

> file resources as a property 
> -----------------------------
>
>                 Key: LOG4J2-1907
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1907
>             Project: Log4j 2
>          Issue Type: New Feature
>          Components: Configurators
>    Affects Versions: 2.8.2
>            Reporter: tsimba kely
>             Fix For: 2.9
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)