logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Deboy" <sde...@comotivsystems.com>
Subject appender-wide properties
Date Sun, 18 Jul 2004 18:08:35 GMT
What would it take to support arbitary name/value pairs set as properties on all events generated
by an appender, and specified in the appender configuration?  Is this worth doing?  

Here are a few implementation options:

 - adding a new globalParam configuration element
 - adding a 'type' attribute on param which tells us it's a 'global' param, defaulting to
'local'?
- A provide a mechanism for the individual appenders to specify which params it uses, and
AppenderSkeleton sets all params provided in the config but not used by the appender as properties
on events (in doAppend?)

Thoughts?

Scott


Mime
View raw message