Summary: | Subst-mechanism in DOMConfigurator broken | ||
---|---|---|---|
Product: | Log4j - Now in Jira | Reporter: | Lars Beuster <lbe.tech> |
Component: | Configurator | Assignee: | log4j-dev <log4j-dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 1.2 | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | other | ||
Bug Depends on: | |||
Bug Blocks: | 43313 |
Description
Lars Beuster
2007-09-07 02:58:49 UTC
Added unit test and fix in rev 587235. DOMConfigurator.subst() should now be consulted in all the places it was in log4j 1.2.14. It will not be consulted when processing unrecognized elements, the parseUnrecognizedElement method of the appender (or other object) is passed a Properties object and does not have access to the DOMConfigurator. If you want to interact with the property evaluation of unrecognized elements, then you have to tweak the Properties object passed on parseUnrecognizedElement. |