You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2003/06/13 09:00:52 UTC
DO NOT REPLY [Bug 20734] New: -
Allow DOMConfigurator to use variable substitution
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20734>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20734
Allow DOMConfigurator to use variable substitution
Summary: Allow DOMConfigurator to use variable substitution
Product: Log4j
Version: 1.2
Platform: All
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Other
Component: Configurator
AssignedTo: log4j-dev@jakarta.apache.org
ReportedBy: bsommerville@redrock.com.au
It would be handy if the DOMConfigurator could use the same sort of variable
substitution as the PropertyConfigurator.
All that is required is a publicly accessible method on the DOMConfigurator
that would allow the setting of the internal Properties object
eg
public void setSubstitutionProperties( Properties substitutionProperties ) {
props = substitutionProperties;
}
(I have tried this & it works )
This would add flexibility to configuration when using the DOMConfigurator
explicitly from client code
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org