logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 20970] - [PATCH] Optional parameters for Renders
Date Tue, 08 Jul 2003 18:05:56 GMT
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=20970>.
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=20970

[PATCH] Optional parameters for Renders

emeade@geekfarm.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Optional parameters for     |[PATCH] Optional parameters
                   |Renders                     |for Renders



------- Additional Comments From emeade@geekfarm.org  2003-07-08 18:05 -------
This feature requires modifing the log4j.dtd to add (param*) to renderer, returning the created
ObjectRender class from RendererMap.addRenderer, and then adding bit or parameter parsing

and PropertySetting to DOMConfigurator.parseRenderer

I copied the code for parameter parsing and property setting out of another parse method to
get
things working.  (first attachment  ParameterizedRenderers.patch)

Then I refactored out similiar parameter parsing and PropertySetting code in parseFilters,
parseRenderers, and parsePlugins into setParameters. (second attachment
ParameterizedRenderersWithSetParametersExtractMethod.patch)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org


Mime
View raw message