
[ http://jira.qos.ch/browse/LBCLASSIC-182?page=com.atlassian.jira.plugin.syste... ] Aleksey Didik updated LBCLASSIC-182: ------------------------------------ Attachment: define_property.patch Ok, It's a patch for logback 0.9.19-SNAPSHOT. All changes in logback core. PropertyDefiner interface extends ConntextAware and PropertyDefinerBase class exists. Unit tests exist.
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_property.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