[logback-dev] [JIRA] Issue Comment Edited: (LBCLASSIC-182) Evaluable properties

Ceki Gulcu (JIRA) noreply-jira at qos.ch
Wed Mar 31 14:57:16 CEST 2010


    [ http://jira.qos.ch/browse/LBCLASSIC-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11696#action_11696 ] 

Ceki Gulcu edited comment on LBCLASSIC-182 at 3/31/10 2:55 PM:
---------------------------------------------------------------

The class containing the "Magenta Corporation Ltd"  was FooPropertyDefiner. Given that the other classes do NOT have this copyright notice and the simplicity of the FooPropertyDefiner class, I am guessing that the copyright notice was automatically inserted by a template in your IDE. I have replaced FooPropertyDefiner with a class called AsLowerCasePropertyDefiner serving a similar purpose (testing).  You don't have to take any further on your end.

By the way, your patch shows very good understanding of Joran. Good work.


      was (Author: noreply.ceki at qos.ch):
    The class containing the "Magenta Corporation Ltd"  was FooPropertyDefiner. Given that the other classes do have this copyright notice and the simplicity of the FooPropertyDefiner, I am guessing that the copyright notice was automatically inserted by a template in your IDE. I have replaced the file with a different one serving a similar purpose (testing).  You don't have to do anything,

  
> Evaluable properties
> --------------------
>
>                 Key: LBCLASSIC-182
>                 URL: http://jira.qos.ch/browse/LBCLASSIC-182
>             Project: logback-classic
>          Issue Type: New Feature
>          Components: Other
>    Affects Versions: 0.9.18
>            Reporter: Aleksey Didik
>            Assignee: Ceki Gulcu
>            Priority: Minor
>         Attachments: define_properties_functionality.patch
>
>
> Necessary to have properties which could be evaluated dynamically in time of configuration file read.
> Currently we have statical defined property values (by property tag or files) or we could get properties from System properties.
> In version 0.9.17 was made possibility to save formatted timestamp in property.
> May be possible to create property evaluator tag, to define some properties value dynamically?
> Something like this:
> <property name="hostName" evaluator="a.b.c.HostPropertyEvaluator">
>       <parameter name="host_type">ip</parameter>
> </property>
> Evaluator will be called on property initialization with listed parameters.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list